public InvoiceAdditionalPriceController(IInvoiceFacadeService facadeService) : base() { if (facadeService == null) throw new Exception(" facade service can not be null"); this.FacadeService = facadeService; }
public InvoiceEffectiveFactorController(IInvoiceFacadeService facadeService) : base() { if (facadeService == null) throw new Exception(" facade service can not be null"); this.FacadeService = facadeService; }
public InvoiceController(IInvoiceFacadeService facadeService) : base() { if (facadeService == null) throw new Exception(" facade service can not be null"); this.FacadeService = facadeService; try { this.FacadeService = ServiceLocator.Current.GetInstance<IInvoiceFacadeService>(); } catch (Exception ex) { throw; } }