Existing code

This commit is contained in:
Stoyan Zlatev
2023-04-04 11:12:07 +02:00
parent 994af6e7af
commit fdfb42da9e
55 changed files with 2239 additions and 39 deletions
@@ -0,0 +1,11 @@
namespace LaaProductionWeb.Services.Interfaces
{
using LaaProductionWeb.Services.Models;
public interface IOrdersService : ITransient
{
OrdersFoundModel FindOrders(string search);
OrderPositions FindPositions(string id);
}
}
@@ -0,0 +1,22 @@
namespace LaaProductionWeb.Services.Interfaces
{
using LaaProductionWeb.Services.Models;
using System.Collections.Generic;
using System.IO;
public interface IProtocolService : ITransient
{
string FileContent(int? fileId);
OrderClientModel FindOrder(int orderId);
IEnumerable<KeyValuePair<int, string>> FindOrdersById(int orderno);
IEnumerable<KeyValuePair<int, string>> FindOrdersByClient(string clientName);
IEnumerable<TestStatus> LoadTestStatus(int orderId);
int SaveFile(Stream fileStream, int clientId, int orderId);
}
}
@@ -0,0 +1,17 @@
namespace LaaProductionWeb.Services.Interfaces
{
using LaaProductionWeb.Services.Models;
public interface IShipmentsService : ITransient
{
OrderScanModel DeletePalletEntry(int id);
int GetPalletsCount(OrderScanModel model);
byte[] LoadBatchBuffer(OrderScanModel model);
PalletsBatchModel LoadBatchModel(OrderScanModel model);
Result UpdateBatchModel(OrderScanModel model);
}
}