PIbd-21_RazubaevSM_Plumbing.../PlumbingRepair/PlumbingRepairContracts/StoragesContracts/IMessageInfoStorage.cs

15 lines
576 B
C#

using PlumbingRepairContracts.ViewModels;
using PlumbingRepairContracts.BindingModels;
using PlumbingRepairContracts.SearchModels;
namespace PlumbingRepairContracts.StoragesContracts
{
public interface IMessageInfoStorage
{
List<MessageInfoViewModel> GetFullList();
List<MessageInfoViewModel> GetFilteredList(MessageInfoSearchModel model);
MessageInfoViewModel? GetElement(MessageInfoSearchModel model);
MessageInfoViewModel? Insert(MessageInfoBindingModel model);
MessageInfoViewModel? Update(MessageInfoBindingModel model);
}
}