PIbd-22_Safiulova_K.N._Airc.../AircraftPlant/AircraftPlantContracts»/StoragesContracts/IPlaneStorage.cs

22 lines
695 B
C#

using AircraftPlantContracts.SearchModels;
using AircraftPlantContracts.BindingModels;
using AircraftPlantContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AircraftPlantContracts.StoragesContracts
{
public interface IPlaneStorage
{
List<PlaneViewModel> GetFullList();
List<PlaneViewModel> GetFilteredList(PlaneSearchModel model);
PlaneViewModel? GetElement(PlaneSearchModel model);
PlaneViewModel? Insert(PlaneBindingModel model);
PlaneViewModel? Update(PlaneBindingModel model);
PlaneViewModel? Delete(PlaneBindingModel model);
}
}