public PurchaseReturnController(IPurchaseReturnService PurchaseReturnService, IPurchaseReturnItemService PurchaseReturnItemService, IInwardFromSupplierService InwardFromSupplierService, IInwardItemFromSupplierService InwardItemFromSupplierService, IInwardFromShopToGodownService InwardFromShopToGodownService, IInwardItemFromShopToGodownService InwardItemFromShopToGodownService, IUserCredentialService UserCredentialService, IModuleService ModuleService,
                                 IUtilityService UtilityService, IShopStockService ShopStockService, IGodownStockService GodownStockService, IOpeningStockService OpeningStockService, IEntryStockItemService EntryStockItemService, IGodownService GodownService, IStockItemDistributionService StockItemDistributionService, IOutwardShopToGodownService OutwardShopToGodownService, IOutwardItemShopToGodownService OutwardItemShopToGodownService, ISuppliersMasterService SuppliersMasterService,
                                 IEmployeeMasterService EmployeeMasterService, IPurchaseInventoryTaxService PurchaseInventoryTaxService, IDebitNoteService DebitNoteService, IDebitNoteItemService DebitNoteItemService, IShopService ShopService)
 {
     this._PurchaseReturnService             = PurchaseReturnService;
     this._PurchaseReturnItemService         = PurchaseReturnItemService;
     this._InwardFromSupplierService         = InwardFromSupplierService;
     this._InwardItemFromSupplierService     = InwardItemFromSupplierService;
     this._InwardFromShopToGodownService     = InwardFromShopToGodownService;
     this._InwardItemFromShopToGodownService = InwardItemFromShopToGodownService;
     this._ModuleService                  = ModuleService;
     this._UserCredentialService          = UserCredentialService;
     this._UtilityService                 = UtilityService;
     this._ShopStockService               = ShopStockService;
     this._GodownStockService             = GodownStockService;
     this._OpeningStockService            = OpeningStockService;
     this._EntryStockItemService          = EntryStockItemService;
     this._GodownService                  = GodownService;
     this._StockItemDistributionService   = StockItemDistributionService;
     this._OutwardShopToGodownService     = OutwardShopToGodownService;
     this._OutwardItemShopToGodownService = OutwardItemShopToGodownService;
     this._SuppliersMasterService         = SuppliersMasterService;
     this._EmployeeMasterService          = EmployeeMasterService;
     this._PurchaseInventoryTaxService    = PurchaseInventoryTaxService;
     this._DebitNoteService               = DebitNoteService;
     this._DebitNoteItemService           = DebitNoteItemService;
     this._ShopService = ShopService;
 }
Exemplo n.º 2
0
 public ComboHelpListController(ISiteService siteServ, IDivisionService divserv,
                                IGodownService godownServ, IComboHelpListService comboHelpListServ)
 {
     _siteService          = siteServ;
     _divisionService      = divserv;
     _godownService        = godownServ;
     _comboHelpListService = comboHelpListServ;
 }
Exemplo n.º 3
0
 public GodownController(IUtilityService utilityService, IGodownService godownService, IGodownAddressService godownaddressService, ICityService cityService, IEmployeeMasterService employeemasterService, ICompanyService componyService, IUserCredentialService usercredentialservice, IModuleService iIModuleService)
 {
     this._utilityService         = utilityService;
     this._godownService          = godownService;
     this._godownaddresService    = godownaddressService;
     this._cityService            = cityService;
     this._employeemasterService  = employeemasterService;
     this._componyService         = componyService;
     this._IUserCredentialService = usercredentialservice;
     this._iIModuleService        = iIModuleService;
 }
Exemplo n.º 4
0
        public GodownController(IGodownService GodownService, IUnitOfWork unitOfWork, IExceptionHandlingService exec)
        {
            _GodownService = GodownService;
            _unitOfWork    = unitOfWork;
            _exception     = exec;

            //Log Initialization
            LogVm.SessionId      = 0;
            LogVm.ControllerName = System.Web.HttpContext.Current.Request.RequestContext.RouteData.GetRequiredString("controller");
            LogVm.ActionName     = System.Web.HttpContext.Current.Request.RequestContext.RouteData.GetRequiredString("action");
            LogVm.User           = System.Web.HttpContext.Current.Request.RequestContext.HttpContext.User.Identity.Name;
        }
Exemplo n.º 5
0
 public UserController(IUserCredentialService usercredentialservice, IModuleService moduleservice, IUserService userservice, IUtilityService utilityservice, IEmployeeMasterService employeeservice, IModuleService iIModuleService, ICompanyService companyservice, IEmployeesCompanyService EmployeesCompanyService, IShopService ShopService, IGodownService GodownService)
 {
     this._iuserservice             = userservice;
     this._iutilityservice          = utilityservice;
     this._iemployeeservice         = employeeservice;
     this._imoduleservice           = moduleservice;
     this._iusercredentailservice   = usercredentialservice;
     this._iCompanyService          = companyservice;
     this._iEmployeesCompanyService = EmployeesCompanyService;
     this._iIModuleService          = iIModuleService;
     this._ShopService   = ShopService;
     this._GodownService = GodownService;
 }
Exemplo n.º 6
0
        public GodownController(IGodownService GodownService, IBinLocationService BinLocationService, IDocumentTypeService DocumentTypeService, IExceptionHandler exec,
                                ILogger log, IModificationCheck modificationCheck, IDocumentValidation DocValidation)
        {
            _GodownService       = GodownService;
            _BinLocationService  = BinLocationService;
            _DocumentTypeService = DocumentTypeService;
            _exception           = exec;
            _documentValidation  = DocValidation;
            _logger            = log;
            _modificationCheck = modificationCheck;

            UserRoles            = (List <string>)System.Web.HttpContext.Current.Session["Roles"];
            logVm.SessionId      = 0;
            logVm.ControllerName = System.Web.HttpContext.Current.Request.RequestContext.RouteData.GetRequiredString("controller");
            logVm.ActionName     = System.Web.HttpContext.Current.Request.RequestContext.RouteData.GetRequiredString("action");
            logVm.User           = System.Web.HttpContext.Current.Request.RequestContext.HttpContext.User.Identity.Name;
        }
Exemplo n.º 7
0
 public StockDistributionController(IUtilityService utilityservice, IGodownService godownservice, IGodownAddressService godownaddressservice, IShopService shopservice, IOpeningStockService openingstockservice, IEntryStockItemService entrystockitemservice, IItemCategoryService itemcategoryservice, IItemSubCategoryService itemsubcategoryservice, IItemService itemservice, IStockDistributionService stockdistributionservice,
                                    IStockItemDistributionService stockitemdistributionservice, IOutwardStockDistributionService outwardstkdisservice, IOutwardItemStockDistributionService outwarditemstkdisservice, IUserCredentialService usercredentialservice, IModuleService iIModuleService)
 {
     this._utilityservice               = utilityservice;
     this._godownservice                = godownservice;
     this._godownaddressservice         = godownaddressservice;
     this._shopservice                  = shopservice;
     this._openingstockservice          = openingstockservice;
     this._entrystockitemservice        = entrystockitemservice;
     this._itemcategoryservice          = itemcategoryservice;
     this._itemsubcategoryservice       = itemsubcategoryservice;
     this._itemservice                  = itemservice;
     this._stockdistributionservice     = stockdistributionservice;
     this._stockitemdistributionservice = stockitemdistributionservice;
     this._outwardstkdisservice         = outwardstkdisservice;
     this._outwarditemstkdisservice     = outwarditemstkdisservice;
     this._IUserCredentialService       = usercredentialservice;
     this._iIModuleService              = iIModuleService;
 }
Exemplo n.º 8
0
 public ReplicaCompanyController(ICompanyService CompanyService, ICompanyBankDetailsService CompanyBankDetailsService, IUserCredentialService UserCredentialService, IModuleService ModuleService, IBankService BankService,
                                 IClientMasterService ClientMasterService, IClientBankDetailService ClientBankDetailService, IDesignService DesignService, IEmployeeMasterService EmployeeMasterService, IGodownService GodownService, IGodownAddressService GodownAddressService,
                                 IItemCategoryService ItemCategoryService, IItemSubCategoryService ItemSubCategoryService, IItemService ItemService, IJobWorkerService JobWorkerService, IJobWorkItemService JobWorkItemService, IJobWorkTypeService JobWorkTypeService,
                                 ISalesIncentiveService SalesIncentiveService, IShopService ShopService, ITypeOfMaterialService TypeOfMaterialService, IUnitService UnitService, ISuppliersMasterService SuppliersMasterService, ISupplierBankDetailService SupplierBankDetailService,
                                 ITransportService TransportService, ITransportBankDetailService TransportBankDetailService, INonInventoryItemService NonInventoryItemService, IUserService UserService, IEmployeesCompanyService EmployeesCompanyService, ICommissionService CommissionService,
                                 IBarcodeNumberService BarcodeNumberService, IBrandMasterService BrandMasterService, IDesignationMasterService DesignationMasterService)
 {
     this._CompanyService            = CompanyService;
     this._CompanyBankDetailsService = CompanyBankDetailsService;
     this._UserCredentialService     = UserCredentialService;
     this._ModuleService             = ModuleService;
     this._BankService                = BankService;
     this._ClientMasterService        = ClientMasterService;
     this._ClientBankDetailService    = ClientBankDetailService;
     this._DesignService              = DesignService;
     this._EmployeeMasterService      = EmployeeMasterService;
     this._GodownService              = GodownService;
     this._GodownAddressService       = GodownAddressService;
     this._ItemCategoryService        = ItemCategoryService;
     this._ItemSubCategoryService     = ItemSubCategoryService;
     this._ItemService                = ItemService;
     this._NonInventoryItemService    = NonInventoryItemService;
     this._BarcodeNumberService       = BarcodeNumberService;
     this._JobWorkerService           = JobWorkerService;
     this._JobWorkItemService         = JobWorkItemService;
     this._JobWorkTypeService         = JobWorkTypeService;
     this._SalesIncentiveService      = SalesIncentiveService;
     this._ShopService                = ShopService;
     this._TypeOfMaterialService      = TypeOfMaterialService;
     this._UnitService                = UnitService;
     this._SuppliersMasterService     = SuppliersMasterService;
     this._SupplierBankDetailService  = SupplierBankDetailService;
     this._TransportService           = TransportService;
     this._TransportBankDetailService = TransportBankDetailService;
     this._UserService                = UserService;
     this._EmployeesCompanyService    = EmployeesCompanyService;
     this._CommissionService          = CommissionService;
     this._BrandMasterService         = BrandMasterService;
     this._DesignationMasterService   = DesignationMasterService;
 }
 /// <summary>
 /// Constructor to inject Godown Service
 /// </summary>
 /// <param name="godownService">Godown Service Instance</param>
 public GodownAPIController(IGodownService godownService)
 {
     _godownService = godownService;
 }