2023-04-08 05:05:19 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using LawFirmContracts.BindingModels;
|
|
|
|
|
using LawFirmContracts.SearchModels;
|
|
|
|
|
using LawFirmContracts.ViewModels;
|
|
|
|
|
|
|
|
|
|
namespace LawFirmContracts.StorageContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IServiceStorage
|
|
|
|
|
{
|
|
|
|
|
List<ServiceViewModel> GetFullList();
|
|
|
|
|
List<ServiceViewModel> GetFilteredList(ServiceSearchModel model);
|
2023-04-08 20:59:23 +04:00
|
|
|
|
List<ReportLawServicesViewModel> GetServicesWithRequest(ServiceSearchModel model);
|
2023-04-08 05:05:19 +04:00
|
|
|
|
ServiceViewModel? GetElement(ServiceSearchModel model);
|
|
|
|
|
ServiceViewModel? Insert(ServiceBindingModel model);
|
|
|
|
|
ServiceViewModel? Update(ServiceBindingModel model);
|
|
|
|
|
ServiceViewModel? Delete(ServiceBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|