public UserService(IOptions <AppSettings> appSettings, work_apsContext context) { _appSettings = appSettings.Value; _db = context; }
public UsersController(work_apsContext context, IUserService userService) { db = context; _userService = userService; }