2024-04-12 20:16:02 +04:00
|
|
|
|
using PlumbingRepairContracts.BindingModels;
|
|
|
|
|
using PlumbingRepairContracts.SearchModels;
|
|
|
|
|
using PlumbingRepairContracts.ViewModels;
|
|
|
|
|
using PlumbingRepairDataModels.Models;
|
2024-04-12 20:55:05 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
2024-04-12 20:16:02 +04:00
|
|
|
|
|
|
|
|
|
namespace PlumbingRepairContracts.BusinessLogicsContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IShopLogic
|
|
|
|
|
{
|
|
|
|
|
List<ShopViewModel>? ReadList(ShopSearchModel? model);
|
|
|
|
|
|
|
|
|
|
ShopViewModel? ReadElement(ShopSearchModel model);
|
|
|
|
|
|
|
|
|
|
bool Create(ShopBindingModel model);
|
|
|
|
|
|
|
|
|
|
bool Update(ShopBindingModel model);
|
|
|
|
|
|
|
|
|
|
bool Delete(ShopBindingModel model);
|
|
|
|
|
|
|
|
|
|
bool StoreReplenishment(ShopSearchModel shopModel, IWorkModel workModel, int count);
|
2024-04-12 20:55:05 +04:00
|
|
|
|
|
|
|
|
|
bool SellWork(IWorkModel workModel, int count);
|
|
|
|
|
bool CheckAndSupply(IWorkModel workModel, int count);
|
2024-04-12 20:16:02 +04:00
|
|
|
|
}
|
|
|
|
|
}
|