21 lines
609 B
C#
21 lines
609 B
C#
using PersonnelDepartmentContracts.SearchModels;
|
|
using PersonnelDepartmentContracts.ViewModels;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace PersonnelDepartmentContracts.StoragesContracts
|
|
{
|
|
public interface IDealStorage
|
|
{
|
|
List<DealViewModel> GetFullList();
|
|
List<DealViewModel> GetFilteredList(DealSearchModel model);
|
|
DealViewModel? GetElement(DealSearchModel model);
|
|
DealViewModel? Insert(DealSearchModel model);
|
|
DealViewModel? Update(DealSearchModel model);
|
|
DealViewModel? Delete(DealSearchModel model);
|
|
}
|
|
}
|