17 lines
567 B
C#
17 lines
567 B
C#
|
using MotorPlantContracts.BindingModels;
|
|||
|
using MotorPlantContracts.SearchModels;
|
|||
|
using MotorPlantContracts.VeiwModels;
|
|||
|
|
|||
|
namespace MotorPlantContracts.StoragesContracts
|
|||
|
{
|
|||
|
public interface IMotorStorage
|
|||
|
{
|
|||
|
List<MotorViewModel> GetFullList();
|
|||
|
List<MotorViewModel> GetFilteredList(MotorSearchModel model);
|
|||
|
MotorViewModel? GetElement(MotorSearchModel model);
|
|||
|
MotorViewModel? Insert(MotorBindingModel model);
|
|||
|
MotorViewModel? Update(MotorBindingModel model);
|
|||
|
MotorViewModel? Delete(MotorBindingModel model);
|
|||
|
}
|
|||
|
}
|