2024-05-05 00:19:00 +04:00
|
|
|
|
using PlumbingRepairContracts.BindingModels;
|
|
|
|
|
using PlumbingRepairContracts.SearchModels;
|
|
|
|
|
using PlumbingRepairContracts.ViewModels;
|
|
|
|
|
using PlumbingRepairDataModels.Models;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace PlumbingRepairContracts.BusinessLogicsContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IStoreLogic
|
|
|
|
|
{
|
|
|
|
|
List<StoreViewModel>? ReadList(StoreSearchModel? model);
|
|
|
|
|
StoreViewModel? ReadElement(StoreSearchModel model);
|
|
|
|
|
bool Create(StoreBindingModel model);
|
|
|
|
|
bool Update(StoreBindingModel model);
|
|
|
|
|
bool Delete(StoreBindingModel model);
|
|
|
|
|
bool AddWork(StoreSearchModel model, IWorkModel work, int quantity);
|
2024-05-05 21:39:31 +04:00
|
|
|
|
bool AddWork(IWorkModel package, int quantity);
|
|
|
|
|
bool SellWork(IWorkModel package, int quantity);
|
2024-05-05 00:19:00 +04:00
|
|
|
|
}
|
|
|
|
|
}
|