31 lines
870 B
C#
31 lines
870 B
C#
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 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);
|
|
|
|
bool SellWork(IWorkModel workModel, int count);
|
|
bool CheckAndSupply(IWorkModel workModel, int count);
|
|
}
|
|
}
|