22 lines
687 B
C#
22 lines
687 B
C#
|
using PlumbingRepairContracts.BindingModels;
|
|||
|
using PlumbingRepairContracts.SearchModels;
|
|||
|
using PlumbingRepairContracts.ViewModels;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace PlumbingRepairContracts.StoragesContracts
|
|||
|
{
|
|||
|
public interface IWorkStorage
|
|||
|
{
|
|||
|
List<WorkViewModel> GetFullList();
|
|||
|
List<WorkViewModel> GetFilteredList(WorkSearchModel model);
|
|||
|
WorkViewModel? GetElement(WorkSearchModel model);
|
|||
|
WorkViewModel? Insert(WorkBindingModel model);
|
|||
|
WorkViewModel? Update(WorkBindingModel model);
|
|||
|
WorkViewModel? Delete(WorkBindingModel model);
|
|||
|
}
|
|||
|
}
|