2024-04-30 17:44:37 +03:00
|
|
|
|
using ServiceStationContracts.BindingModels;
|
|
|
|
|
using ServiceStationContracts.SearchModels;
|
|
|
|
|
using ServiceStationContracts.ViewModels;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
2024-08-19 17:49:44 +04:00
|
|
|
|
namespace ServiceStationContracts.StorageContracts
|
2024-04-30 17:44:37 +03:00
|
|
|
|
{
|
|
|
|
|
public interface IWorkStorage
|
|
|
|
|
{
|
|
|
|
|
List<WorkViewModel> GetFullList();
|
|
|
|
|
List<WorkViewModel> GetFilteredList(WorkSearchModel model);
|
2024-08-10 18:43:15 +04:00
|
|
|
|
|
2024-04-30 17:44:37 +03:00
|
|
|
|
WorkViewModel? GetElement(WorkSearchModel model);
|
|
|
|
|
WorkViewModel? Insert(WorkBindingModel model);
|
|
|
|
|
WorkViewModel? Update(WorkBindingModel model);
|
|
|
|
|
WorkViewModel? Delete(WorkBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|