creating orderer client app

This commit is contained in:
2023-05-17 14:20:02 +04:00
parent 904981a408
commit b3096b8693
92 changed files with 74933 additions and 37 deletions

View File

@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ComputerShopBusinessLogic.BusinessLogics
{
public class EquipmentReceivingLogic
{
}
}

View File

@@ -0,0 +1,55 @@
using ComputerShopContracts.BindingModels;
using ComputerShopContracts.BusinessLogicContracts;
using ComputerShopContracts.SearchModels;
using ComputerShopContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ComputerShopBusinessLogic.BusinessLogics
{
public class OrderLogic : IOrderLogic
{
public bool CreateOrder(OrderBindingModel model)
{
throw new NotImplementedException();
}
public bool Delete(ComponentBindingModel model)
{
throw new NotImplementedException();
}
public bool DeliveryOrder(OrderBindingModel model)
{
throw new NotImplementedException();
}
public bool FinishOrder(OrderBindingModel model)
{
throw new NotImplementedException();
}
public OrderViewModel? ReadElement(OrderSearchModel model)
{
throw new NotImplementedException();
}
public List<OrderViewModel>? ReadList(OrderSearchModel? model)
{
throw new NotImplementedException();
}
public bool TakeOrderInWork(OrderBindingModel model)
{
throw new NotImplementedException();
}
public bool Update(ComponentBindingModel model)
{
throw new NotImplementedException();
}
}
}

View File

@@ -0,0 +1,45 @@
using ComputerShopContracts.BindingModels;
using ComputerShopContracts.BusinessLogicContracts;
using ComputerShopContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ComputerShopBusinessLogic.BusinessLogics
{
public class ReportLogic : IReportLogic
{
private readonly IBlankStorage _blankStorage;
private readonly IDocumentStorage _documentStorage;
private readonly IOrderStorage _orderStorage;
private readonly AbstractSaveToExcel _saveToExcel;
private readonly AbstractSaveToWord _saveToWord;
private readonly AbstractSaveToPdf _saveToPdf;
public List<ReportPurchaseReceivingViewModel> GetPurchaseReceiving()
{
throw new NotImplementedException();
}
public List<ReportPurchaseSupplyViewModel> GetPurchaseSupply()
{
throw new NotImplementedException();
}
public void SaveOrdersToPdfFile(ReportBindingModel model)
{
throw new NotImplementedException();
}
public void SavePackagesToWordFile(ReportBindingModel model)
{
throw new NotImplementedException();
}
public void SaveProductComponentToExcelFile(ReportBindingModel model)
{
throw new NotImplementedException();
}
}
}

View File

@@ -0,0 +1,60 @@
using ComputerShopContracts.BindingModels;
using ComputerShopContracts.BusinessLogicContracts;
using ComputerShopContracts.SearchModels;
using ComputerShopContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ComputerShopBusinessLogic.BusinessLogics
{
public class SupplyLogic : ISupplyLogic
{
public bool Create(SupplyBindingModel model)
{
throw new NotImplementedException();
}
public bool CreateOrder(PurchaseBindingModel model)
{
throw new NotImplementedException();
}
public bool Delete(SupplyBindingModel model)
{
throw new NotImplementedException();
}
public bool DeliveryOrder(PurchaseBindingModel model)
{
throw new NotImplementedException();
}
public bool FinishOrder(PurchaseBindingModel model)
{
throw new NotImplementedException();
}
public SupplyViewModel? ReadElement(SupplySearchModel model)
{
throw new NotImplementedException();
}
public List<SupplyViewModel>? ReadList(SupplySearchModel? model)
{
throw new NotImplementedException();
}
public bool TakeOrderInWork(PurchaseBindingModel model)
{
throw new NotImplementedException();
}
public bool Update(SupplyBindingModel model)
{
throw new NotImplementedException();
}
}
}