25 lines
668 B
C#
25 lines
668 B
C#
using ConfectioneryContracts.BindingModels;
|
|
using ConfectioneryContracts.SearchModels;
|
|
using ConfectioneryContracts.ViewModels;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ConfectioneryContracts.StoragesContract
|
|
{
|
|
public interface IMessageInfoStorage
|
|
{
|
|
List<MessageInfoViewModel> GetFullList();
|
|
|
|
List<MessageInfoViewModel>? GetListOnPage(int page, int pageSize);
|
|
|
|
List<MessageInfoViewModel> GetFilteredList(MessageInfoSearchModel model);
|
|
|
|
MessageInfoViewModel? GetElement(MessageInfoSearchModel model);
|
|
|
|
MessageInfoViewModel? Insert(MessageInfoBindingModel model);
|
|
}
|
|
}
|