public NhapController(INhapHangService nhap, IQlNhapXuatService qlNx, UserManager user, INccService ncc) { _nhap = nhap; _qlNx = qlNx; _user = user; _ncc = ncc; }
public NccController(INccService nccService, ICompanyService companyService, UserAppService appService) { //_idCty = int.Parse(Request.Cookies["id"].ToString()); _nccService = nccService; _companyService = companyService; _appService = appService; }
public MainViewModel(IConfigReaderService configReaderService, ILogService logService, INccService nccService) { _configReaderService = configReaderService; _nccService = nccService; _logService = logService; try { NCCConfig = configReaderService.ReadNccConfig(); } catch (Exception e) { _logService.LogError("WRONG CONFIG: " + e.Message); } BindingOperations.EnableCollectionSynchronization(Logs, _lock); if (NCCConfig.DomainSlave == false) { _nccService.StartListening("127.0.0.1", NCCConfig.ServerPort); } else { _nccService.ConnectToNcc("127.0.0.1", NCCConfig.ClientPort, NCCConfig.Name); _nccService.StartListening("127.0.0.1", NCCConfig.ServerPort); } }
public NccController(INccService nccService, ICompanyService companyService, UserAppService appService, UserManager userManager, IGetIdService getIdService) { _nccService = nccService; _companyService = companyService; _appService = appService; _userManager = userManager; _getIdService = getIdService; _idCty = (long)_userManager.AbpSession.UserId; }
public NhapController(INhapService nhap, IQlNhapXuatService qlNx, UserManager user, INccService ncc, IGetIdService getIdService , IHostingEnvironment hostingEnvironment) { _nhap = nhap; _qlNx = qlNx; _user = user; _ncc = ncc; _getIdService = getIdService; _hostingEnvironment = hostingEnvironment; }