public UsersController(CoreContext context, ILogger <UsersController> logger) { _context = context; _pageDataServices = new PageDataServices(context, logger); _logger = logger; _statesModelServices = new StatesModelServices(context, logger); _userModelServices = new UserModelServices(context, logger); _profileModelServices = new ProfileModelServices(context, logger); _registerUserServices = new RegisterUserServices(context, logger); _updateUserServices = new UpdateUserServices(context, logger); }
public ConfigController(CoreContext context, ILogger <ConfigController> logger) { _context = context; _pageDataServices = new PageDataServices(context, logger); _logger = logger; _permissionsModelServices = new PermissionsModelServices(context, logger); _profileModelServices = new ProfileModelServices(context, logger); _permissonsOfProfileModelServices = new PermissonsOfProfileModelServices(context, logger); _userModelServices = new UserModelServices(context, logger); _userProfileModelServices = new UserProfileModelServices(context, logger); }