Доделал

This commit is contained in:
gg12 darfren 2024-04-23 20:56:59 +04:00
parent 3f72f33cdf
commit 71b43ca2eb
3 changed files with 38 additions and 8 deletions

View File

@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VetClinicContracts.BindingModels;
using VetClinicContracts.SearchModels;
using VetClinicContracts.ViewModels;
namespace VetClinicContracts.StoragesContracts
{
public interface IGuidanceStorage
{
List<GuidanceViewModel> GetFullList();
List<GuidanceViewModel> GetFilteredList(GuidanceSearchModel model);
GuidanceViewModel? GetElement(GuidanceSearchModel model);
GuidanceViewModel? Insert(GuidanceBindingModel model);
GuidanceViewModel? Update(GuidanceBindingModel model);
GuidanceViewModel? Delete(GuidanceBindingModel model);
}
}

View File

@ -9,13 +9,13 @@ using VetClinicContracts.ViewModels;
namespace VetClinicContracts.StoragesContracts
{
public interface IGuidanceStorage
public interface IPharmacistStorage
{
List<GuidanceViewModel> GetFullList();
List<GuidanceViewModel> GetFilteredList(GuidanceSearchModel model);
GuidanceViewModel? GetElement(GuidanceSearchModel model);
GuidanceViewModel? Insert(GuidanceBindingModel model);
GuidanceViewModel? Update(GuidanceBindingModel model);
GuidanceViewModel? Delete(GuidanceBindingModel model);
List<PharmacistViewModel> GetFullList();
List<PharmacistViewModel> GetFilteredList(PharmacistSearchModel model);
PharmacistViewModel? GetElement(PharmacistSearchModel model);
PharmacistViewModel? Insert(PharmacistBindingModel model);
PharmacistViewModel? Update(PharmacistBindingModel model);
PharmacistViewModel? Delete(PharmacistBindingModel model);
}
}

View File

@ -3,10 +3,19 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VetClinicContracts.BindingModels;
using VetClinicContracts.SearchModels;
using VetClinicContracts.ViewModels;
namespace VetClinicContracts.StoragesContracts
{
internal interface IServiceStorage
public interface IServiceStorage
{
List<ServiceViewModel> GetFullList();
List<ServiceViewModel> GetFilteredList(ServiceSearchModel model);
ServiceViewModel? GetElement(ServiceSearchModel model);
ServiceViewModel? Insert(ServiceBindingModel model);
ServiceViewModel? Update(ServiceBindingModel model);
ServiceViewModel? Delete(ServiceBindingModel model);
}
}