2023-02-12 16:37:12 +04:00
|
|
|
|
using LawFirmContracts.BindingModels;
|
|
|
|
|
using LawFirmContracts.SearchModels;
|
|
|
|
|
using LawFirmContracts.ViewModels;
|
|
|
|
|
using LawFirmDataModels.Models;
|
|
|
|
|
using System;
|
2023-02-01 15:17:07 +04:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace LawFirmContracts.BusinessLogicContracts
|
|
|
|
|
{
|
2023-02-12 16:37:12 +04:00
|
|
|
|
public interface IShopLogic
|
2023-02-01 15:17:07 +04:00
|
|
|
|
{
|
2023-02-12 16:37:12 +04:00
|
|
|
|
ShopViewModel? ReadElement(ShopSearchModel model);
|
2023-02-12 18:23:39 +04:00
|
|
|
|
List<ShopViewModel>? ReadList(ShopSearchModel? model);
|
2023-02-12 16:37:12 +04:00
|
|
|
|
bool Create(ShopBindingModel model);
|
|
|
|
|
bool Update(ShopBindingModel model);
|
|
|
|
|
bool Delete(ShopBindingModel model);
|
|
|
|
|
bool SupplyDocuments(ShopSearchModel model, IDocumentModel document, int count);
|
2023-03-02 22:09:15 +04:00
|
|
|
|
bool SellDocument(IDocumentModel document, int count);
|
2023-02-01 15:17:07 +04:00
|
|
|
|
}
|
|
|
|
|
}
|