コード例 #1
0
 public UserService(IOptions <AppSettings> appSettings, work_apsContext context)
 {
     _appSettings = appSettings.Value;
     _db          = context;
 }
コード例 #2
0
ファイル: UsersController.cs プロジェクト: woohwan/WebApi
 public UsersController(work_apsContext context, IUserService userService)
 {
     db           = context;
     _userService = userService;
 }