PIbd-22-Stroev-V.M.-Plumbin.../PlumbingRepair/PlumbingRepairContracts/StoragesContracts/IStoreStorage.cs

24 lines
816 B
C#
Raw Normal View History

2024-05-05 00:19:00 +04:00
using PlumbingRepairContracts.BindingModels;
using PlumbingRepairContracts.SearchModels;
using PlumbingRepairContracts.ViewModels;
2024-05-05 21:39:31 +04:00
using PlumbingRepairDataModels.Models;
2024-05-05 00:19:00 +04:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PlumbingRepairContracts.StoragesContracts
{
public interface IStoreStorage
{
List<StoreViewModel> GetFullList();
List<StoreViewModel> GetFilteredList(StoreSearchModel model);
StoreViewModel? GetElement(StoreSearchModel model);
StoreViewModel? Insert(StoreBindingModel model);
StoreViewModel? Update(StoreBindingModel model);
StoreViewModel? Delete(StoreBindingModel model);
2024-05-05 21:39:31 +04:00
bool SellWork(IWorkModel model, int quantity);
2024-05-05 00:19:00 +04:00
}
}