Доделал
This commit is contained in:
parent
3f72f33cdf
commit
71b43ca2eb
@ -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);
|
||||
}
|
||||
}
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user