public CustomerRepository( IDbContextProvider<XTOPMSDbContext> dbContextProvider , ICustomerCategorySettingRepository _customerCategorySettingRepository ) : base(dbContextProvider) { customerCategorySettingRepository = _customerCategorySettingRepository; }
public CustomerAppService( ICustomerRepository _repository , ICustomerManager _customerManager , ICustomerCategoryRepository _customerCategoryRepository , ICustomerCategorySettingRepository _customerCategorySettingRepository ) : base(_repository) { this.CreatePermissionName = PermissionNames.API_Customer_Create; this.GetAllPermissionName = PermissionNames.API_Customer_GetAll; this.GetPermissionName = PermissionNames.API_Customer_Get; this.UpdatePermissionName = PermissionNames.API_Customer_Update; repository = _repository; customerManager = _customerManager; customerCategoryRepository = _customerCategoryRepository; customerCategorySettingRepository = _customerCategorySettingRepository; }
public CustomerCategorySettingAppService(ICustomerCategorySettingRepository repository) : base(repository) { }