2023-04-23 10:08:28 +04:00
|
|
|
|
using SecuritySystemContracts.BindingModels;
|
|
|
|
|
using SecuritySystemContracts.SearchModels;
|
|
|
|
|
using SecuritySystemContracts.ViewModels;
|
|
|
|
|
using SecuritySystemDataModels.Models;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
2023-05-01 16:55:27 +04:00
|
|
|
|
namespace SecuritySystemContracts.StoragesContracts
|
2023-04-23 10:08:28 +04:00
|
|
|
|
{
|
|
|
|
|
public interface IClientStorage
|
|
|
|
|
{
|
|
|
|
|
List<ClientViewModel> GetFullList();
|
|
|
|
|
List<ClientViewModel> GetFilteredList(ClientSearchModel model);
|
|
|
|
|
ClientViewModel? GetElement(ClientSearchModel model);
|
|
|
|
|
ClientViewModel? Insert(ClientBindingModel model);
|
|
|
|
|
ClientViewModel? Update(ClientBindingModel model);
|
|
|
|
|
ClientViewModel? Delete(ClientBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|