Созданы контракты хранилища
This commit is contained in:
parent
a19bf4142b
commit
45beb79552
22
LawFirm/LawFirmContracts/StorageContracts/IBlankStorage.cs
Normal file
22
LawFirm/LawFirmContracts/StorageContracts/IBlankStorage.cs
Normal file
@ -0,0 +1,22 @@
|
||||
using LawFirmContracts.BindingModels;
|
||||
using LawFirmContracts.SearchModels;
|
||||
using LawFirmContracts.ViewModels;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace LawFirmContracts.StorageContracts
|
||||
{
|
||||
public interface IBlankStorage
|
||||
{
|
||||
List<BlankViewModel> GetFullList();
|
||||
List<BlankViewModel> GetFilteredList(BlankSearchModel model);
|
||||
BlankViewModel? GetElement(BlankSearchModel model);
|
||||
BlankViewModel? Insert(BlankBindingModel model);
|
||||
BlankViewModel? Update(BlankBindingModel model);
|
||||
BlankViewModel? Delete(BlankBindingModel model);
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
using LawFirmContracts.BindingModels;
|
||||
using LawFirmContracts.SearchModels;
|
||||
using LawFirmContracts.ViewModels;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace LawFirmContracts.StorageContracts
|
||||
{
|
||||
public interface IDocumentStorage
|
||||
{
|
||||
List<DocumentViewModel> GetFullList();
|
||||
List<DocumentViewModel> GetFilteredList(DocumentSearchModel model);
|
||||
DocumentViewModel? GetElement(DocumentSearchModel model);
|
||||
DocumentViewModel? Insert(DocumentBindingModel model);
|
||||
DocumentViewModel? Update(DocumentBindingModel model);
|
||||
DocumentViewModel? Delete(DocumentBindingModel model);
|
||||
|
||||
}
|
||||
}
|
21
LawFirm/LawFirmContracts/StorageContracts/IOrderStorage.cs
Normal file
21
LawFirm/LawFirmContracts/StorageContracts/IOrderStorage.cs
Normal file
@ -0,0 +1,21 @@
|
||||
using LawFirmContracts.BindingModels;
|
||||
using LawFirmContracts.SearchModels;
|
||||
using LawFirmContracts.ViewModels;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace LawFirmContracts.StorageContracts
|
||||
{
|
||||
public interface IOrderStorage
|
||||
{
|
||||
List<OrderViewModel> GetFullList();
|
||||
List<OrderViewModel> GetFilteredList(OrderSearchModel model);
|
||||
OrderViewModel? GetElement(OrderSearchModel model);
|
||||
OrderViewModel? Insert(OrderBindingModel model);
|
||||
OrderViewModel? Update(OrderBindingModel model);
|
||||
OrderViewModel? Delete(OrderBindingModel model);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user