public SystemSettingService(ISystemSettingRepository repo, IUnitOfWork unitOfWork , IMemoryCache memoryCache, IClientNotifier clientNotifier) : base(repo, unitOfWork) { _repo = repo; _memoryCache = memoryCache; _clientNotifier = clientNotifier; }
public GetAllSystemSettingGroupParamCommand( ISystemSettingRepository systemSettingRepository, IMapper <Models.SystemSetting, SystemSetting> systemSettingMapper) { _systemSettingRepository = systemSettingRepository; _systemSettingMapper = systemSettingMapper; }
public GetSystemSettingCommand( ISystemSettingRepository systemSettingRepository, IMapper <Models.SystemSetting, SystemSetting> systemSettingMapper) { _systemSettingRepository = systemSettingRepository; _systemSettingMapper = systemSettingMapper; }
public PostSystemSettingCommand( ISystemSettingRepository systemSettingRepository, ISystemSettingGroupRepository systemSettingGroupRepository, IMapper <Models.SystemSetting, SystemSetting> systemSettingToSystemSettingMapper, IMapper <SaveSystemSetting, Models.SystemSetting> saveSystemSettingToSystemSettingMapper, IHttpContextAccessor httpContextAccessor) { _systemSettingRepository = systemSettingRepository; _systemSettingGroupRepository = systemSettingGroupRepository; _systemSettingToSystemSettingMapper = systemSettingToSystemSettingMapper; _saveSystemSettingToSystemSettingMapper = saveSystemSettingToSystemSettingMapper; _httpContextAccessor = httpContextAccessor; }
private void SetSystemSetting() { _unitOfWork = UnityInit.UnitOfWork; _systemSettingRepository = _unitOfWork.GetRepository <SystemSettingRepository>(); setting = _systemSettingRepository.Query().Where(x => x.IsEnable).ToList(); _systemSetting.MemberPointsRate = setting.Single(x => x.SettingCode == ((short)DataType.SystemSettingCode.MemberPointsRate).ToString()).SettingValue; _systemSetting.SOProduceGeneralMangerMaxDiscountPrice = setting.Single(x => x.SettingCode == ((short)DataType.SystemSettingCode.SOProduceGeneralMangerMaxDiscountPrice).ToString()).SettingValue; _systemSetting.ReportMerchantsName = setting.Single(x => x.SettingCode == ((short)DataType.SystemSettingCode.ReportMerchantsName).ToString()).SettingValue; _systemSetting.ReportPhone = setting.Single(x => x.SettingCode == ((short)DataType.SystemSettingCode.ReportPhone).ToString()).SettingValue; _systemSetting.ReportAddress = setting.Single(x => x.SettingCode == ((short)DataType.SystemSettingCode.ReportAddress).ToString()).SettingValue; _systemSetting.ReportPrintName = setting.Single(x => x.SettingCode == ((short)DataType.SystemSettingCode.ReportPrintName).ToString()).SettingValue; _systemSetting.ReportHealthline = setting.Single(x => x.SettingCode == ((short)DataType.SystemSettingCode.ReportHealthline).ToString()).SettingValue; _systemSetting.ReportWebSiteUrl = setting.Single(x => x.SettingCode == ((short)DataType.SystemSettingCode.ReportWebSiteUrl).ToString()).SettingValue; _systemSetting.DefaultMemberCardPW = setting.Single(x => x.SettingCode == ((short)DataType.SystemSettingCode.DefaultMemberCardPW).ToString()).SettingValue; }
public Login() { InitializeComponent(); _userRepository = UnityInit.UnitOfWork.GetRepository <UserRepository>(); _systemSettingRepository = UnityInit.UnitOfWork.GetRepository <SystemSettingRepository>(); TxtVersion.Text = string.Format("当前版本号 : V{0}", System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString()); CheckBoxLogin.IsChecked = !string.IsNullOrEmpty(Settings.Default.Login); TextLogin.Text = Settings.Default.Login; if (string.IsNullOrEmpty(TextLogin.Text)) { TextLogin.Focus(); } else { TextPassword.Focus(); } }
public BillService(IAccountTransactionRepository accountTransactionRepository, IBillRepository billRepository, IBillAccountTransactionRepository billAccountTransactionRepository, IBillChargeRepository billChargeRepository, IBillDiscountRepository billDiscountRepository, IBillItemRepository billItemRepository, IChargeRepository chargeRepository, IChargeDiscountRepository chargeDiscountRepository, IDiscountRepository discountRepository, IStudentChargeRepository studentChargeRepository, IStudentDiscountRepository studentDiscountRepository, ISystemSettingRepository settingRepository) { _accountTransactionRepository = accountTransactionRepository; _billRepository = billRepository; _billAccountTransactionRepository = billAccountTransactionRepository; _billChargeRepository = billChargeRepository; _billDiscountRepository = billDiscountRepository; _billItemRepository = billItemRepository; _chargeRepository = chargeRepository; _chargeDiscountRepository = chargeDiscountRepository; _discountRepository = discountRepository; _studentChargeRepository = studentChargeRepository; _studentDiscountRepository = studentDiscountRepository; _settingRepository = settingRepository; }
public DeleteSystemSettingCommand(ISystemSettingRepository systemSettingRepository) { _systemSettingRepository = systemSettingRepository; }
public CategoryController(ICategoryRepository categoryRepository, ISystemSettingRepository systemSettingRepository) { _categoryRepository = categoryRepository; _systemSettingRepository = systemSettingRepository; }
public SystemSettingsService(ISystemSettingRepository repository) { this.repository = repository; }
public SystemSettingService(IUnitOfWork unitOfWork, ISystemSettingRepository systemSettingRepository) : base(unitOfWork, systemSettingRepository) { this._unitOfWork = unitOfWork; this._systemSettingRepository = systemSettingRepository; }
public SystemSettingServiceTests(PaymentGatewayContextFactory paymentGatewayContextFactory) { _systemSettingRepository = new SystemSettingRepository(paymentGatewayContextFactory.ContextInstance); _systemSettingMapper = paymentGatewayContextFactory.SystemSettingMapper; }
public AppSettingsService(ISystemSettingRepository systemSettings, ICacheService cacheService) { _systemSettings = systemSettings; _cacheService = cacheService; }
public SystemSettingService(ISystemSettingRepository appsRepository, IUnitofWork unitOfWork) { _roleRepository = appsRepository; _unitOfWork = unitOfWork; }
public SystemSettingService(ISystemSettingRepository systemsettingRepository) { this._systemsettingRepository = systemsettingRepository; }
public SystemSettingService(ISystemSettingRepository systemSettingRepository, IUnitOfWork unitOfWork) { this._systemSettingRepository = systemSettingRepository; this._unitOfWork = unitOfWork; }
public SystemSettingService(IUnitOfWork unitOfWork, ISystemSettingRepository systemSettingRepository , ICacheManager cacheManager) : base(unitOfWork, systemSettingRepository) { _systemSettingRepository = systemSettingRepository; _cacheManager = cacheManager; }