diff --git a/VetClinic/VetClinicContracts/StoragesContracts/IGuidanceStorage.cs b/VetClinic/VetClinicContracts/StoragesContracts/IGuidanceStorage.cs new file mode 100644 index 0000000..b3d7c3e --- /dev/null +++ b/VetClinic/VetClinicContracts/StoragesContracts/IGuidanceStorage.cs @@ -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 GetFullList(); + List GetFilteredList(GuidanceSearchModel model); + GuidanceViewModel? GetElement(GuidanceSearchModel model); + GuidanceViewModel? Insert(GuidanceBindingModel model); + GuidanceViewModel? Update(GuidanceBindingModel model); + GuidanceViewModel? Delete(GuidanceBindingModel model); + } +} diff --git a/VetClinic/VetClinicContracts/StoragesContracts/IPharmacistStorage.cs b/VetClinic/VetClinicContracts/StoragesContracts/IPharmacistStorage.cs index b3d7c3e..49bfc6f 100644 --- a/VetClinic/VetClinicContracts/StoragesContracts/IPharmacistStorage.cs +++ b/VetClinic/VetClinicContracts/StoragesContracts/IPharmacistStorage.cs @@ -9,13 +9,13 @@ using VetClinicContracts.ViewModels; namespace VetClinicContracts.StoragesContracts { - public interface IGuidanceStorage + public interface IPharmacistStorage { - List GetFullList(); - List GetFilteredList(GuidanceSearchModel model); - GuidanceViewModel? GetElement(GuidanceSearchModel model); - GuidanceViewModel? Insert(GuidanceBindingModel model); - GuidanceViewModel? Update(GuidanceBindingModel model); - GuidanceViewModel? Delete(GuidanceBindingModel model); + List GetFullList(); + List GetFilteredList(PharmacistSearchModel model); + PharmacistViewModel? GetElement(PharmacistSearchModel model); + PharmacistViewModel? Insert(PharmacistBindingModel model); + PharmacistViewModel? Update(PharmacistBindingModel model); + PharmacistViewModel? Delete(PharmacistBindingModel model); } } diff --git a/VetClinic/VetClinicContracts/StoragesContracts/IServiceStorage.cs b/VetClinic/VetClinicContracts/StoragesContracts/IServiceStorage.cs index 459b89d..f94ac6f 100644 --- a/VetClinic/VetClinicContracts/StoragesContracts/IServiceStorage.cs +++ b/VetClinic/VetClinicContracts/StoragesContracts/IServiceStorage.cs @@ -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 GetFullList(); + List GetFilteredList(ServiceSearchModel model); + ServiceViewModel? GetElement(ServiceSearchModel model); + ServiceViewModel? Insert(ServiceBindingModel model); + ServiceViewModel? Update(ServiceBindingModel model); + ServiceViewModel? Delete(ServiceBindingModel model); } }