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;
        }
示例#3
0
        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;
            }
        }