Esempio n. 1
0
 public GameService(ILogicService logic, IMapper mapper, IErrorHandler errorHandler, EcovadisContext context)
 {
     this.logic        = logic;
     this.context      = context;
     this.errorHandler = errorHandler;
     this.mapper       = mapper;
 }
Esempio n. 2
0
 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();
         }
     }
 }
Esempio n. 3
0
 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();
         }
     }
 }
Esempio n. 4
0
 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;
		}
Esempio n. 6
0
 public BatchController(IUserManager manager, ILogicService <T> logicService, ILogicBatchService <T> logicBatchService) : base(manager, logicService)
 {
     Debug.Assert(logicBatchService != null, "logicBatchService == null");
     _logicBatchService = logicBatchService;
 }
Esempio n. 7
0
 public CommonController(IUserManager manager, ILogicService <T> logicService) : base(manager)
 {
     Debug.Assert(logicService != null, "logicService == null");
     _logicService = logicService;
 }
Esempio n. 8
0
 public InstallerController(ILogicService service)
 {
     _service = service;
 }
 public SearchRequestController(ILogicService logicService, IBus bus)
 {
     _logicService = logicService;
     _bus          = bus;
 }
Esempio n. 10
0
 public TransactionController(ILogicService logicService)
 {
     _logicService = logicService;
 }
Esempio n. 11
0
 public BusinessLogic(ILogicService logicService,
                      IDataService dataService)
 {
     _logicService = logicService;
     _dataService  = dataService;
 }
Esempio n. 12
0
 public NotifyRecordsController(IUserManager manager, ILogicService <NotifyRecords> logicService) : base(manager, logicService)
 {
 }
 public FrontEndController(ILogicService service)
 {
     _service = service;
 }
Esempio n. 14
0
 public DepositController(ILogicService logicService)
 {
     _logicService = logicService;
 }
Esempio n. 15
0
 public InvestmentController(ILogicService logicService)
 {
     _logicService = logicService;
 }
Esempio n. 16
0
 public SensorDataController(IUserManager manager, ILogicService <SensorData> logicService, ILogicBatchService <SensorData> batchService) : base(manager, logicService, batchService)
 {
 }
		public InstallerController(ILogicService service)
		{
			_service = service;
		}
Esempio n. 18
0
		public LogicController(ILogicService service)
		{
			_service = service;
		}
Esempio n. 19
0
 public LogicController(ILogicService service)
 {
     _service = service;
 }