public GameService(ILogicService logic, IMapper mapper, IErrorHandler errorHandler, EcovadisContext context) { this.logic = logic; this.context = context; this.errorHandler = errorHandler; this.mapper = mapper; }
public static spCurrentItemMasterStockBalance_Result GetCurrentItemMasterStockBalance(string itemID, int store, DateTime enquiryDate) { try { iLogicService = ILogicServiceAgent.CreateChannel(); return(iLogicService.GetCurrentItemMasterStockBalance(itemID, store, enquiryDate)); } catch (Exception exception) { return(null); } finally { var channel = iLogicService as ICommunicationObject; if (channel != null && channel.State == CommunicationState.Opened) { channel.Close(); } } }
public static List <RelatedPrice> GetRelatedPriceList(string itemID, string priceGroup = "Price", string reference = null) { try { iLogicService = ILogicServiceAgent.CreateChannel(); return(iLogicService.GetRelatedPriceList(itemID, priceGroup, reference)); } catch (Exception exception) { return(null); } finally { var channel = iLogicService as ICommunicationObject; if (channel != null && channel.State == CommunicationState.Opened) { channel.Close(); } } }
public static List <RelatedPrice> GetMaterialCost(string materialID, CostType costType) { try { iLogicService = ILogicServiceAgent.CreateChannel(); return(iLogicService.GetMaterialCost(materialID, costType)); } catch (Exception exception) { return(null); } finally { var channel = iLogicService as ICommunicationObject; if (channel != null && channel.State == CommunicationState.Opened) { channel.Close(); } } }
public FrontEndController(ILogicService service) { _service = service; }
public BatchController(IUserManager manager, ILogicService <T> logicService, ILogicBatchService <T> logicBatchService) : base(manager, logicService) { Debug.Assert(logicBatchService != null, "logicBatchService == null"); _logicBatchService = logicBatchService; }
public CommonController(IUserManager manager, ILogicService <T> logicService) : base(manager) { Debug.Assert(logicService != null, "logicService == null"); _logicService = logicService; }
public InstallerController(ILogicService service) { _service = service; }
public SearchRequestController(ILogicService logicService, IBus bus) { _logicService = logicService; _bus = bus; }
public TransactionController(ILogicService logicService) { _logicService = logicService; }
public BusinessLogic(ILogicService logicService, IDataService dataService) { _logicService = logicService; _dataService = dataService; }
public NotifyRecordsController(IUserManager manager, ILogicService <NotifyRecords> logicService) : base(manager, logicService) { }
public DepositController(ILogicService logicService) { _logicService = logicService; }
public InvestmentController(ILogicService logicService) { _logicService = logicService; }
public SensorDataController(IUserManager manager, ILogicService <SensorData> logicService, ILogicBatchService <SensorData> batchService) : base(manager, logicService, batchService) { }
public LogicController(ILogicService service) { _service = service; }