CourseWork_CarCenter/CarCenter/CarCenterContracts/StoragesContracts/IEquipmentStorage.cs

27 lines
732 B
C#
Raw Normal View History

2024-04-27 22:39:17 +04:00
using CarCenterContracts.BindingModels;
using CarCenterContracts.SearchModels;
using CarCenterContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CarCenterContracts.StoragesContracts
{
public interface IEquipmentStorage
{
List<EquipmentViewModel> GetFullList();
List<EquipmentViewModel> GetFilteredList(EquipmentSearchModel model);
EquipmentViewModel? GetElement(EquipmentSearchModel model);
EquipmentViewModel? Insert(EquipmentBindingModel model);
EquipmentViewModel? Update(EquipmentBindingModel model);
EquipmentViewModel? Delete(EquipmentBindingModel model);
}
}