diff options
| author | transtrike <transtrike@gmail.com> | 2020-12-15 10:23:46 +0200 |
|---|---|---|
| committer | transtrike <transtrike@gmail.com> | 2020-12-15 10:23:46 +0200 |
| commit | 09c8fc48a6a49c3c36df69ba2747088ac652054b (patch) | |
| tree | 9b25a521cf3effb63d1a06eb8496475eb201b8aa /src/DevHive.Web/Controllers/UserController.cs | |
| parent | 86800d2c5bcee9aae5162eb71c846ca5f91df761 (diff) | |
| download | DevHive-09c8fc48a6a49c3c36df69ba2747088ac652054b.tar DevHive-09c8fc48a6a49c3c36df69ba2747088ac652054b.tar.gz DevHive-09c8fc48a6a49c3c36df69ba2747088ac652054b.zip | |
Changed object to Guid in IRepository
Diffstat (limited to 'src/DevHive.Web/Controllers/UserController.cs')
| -rw-r--r-- | src/DevHive.Web/Controllers/UserController.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/DevHive.Web/Controllers/UserController.cs b/src/DevHive.Web/Controllers/UserController.cs index d8f078f..14ecb73 100644 --- a/src/DevHive.Web/Controllers/UserController.cs +++ b/src/DevHive.Web/Controllers/UserController.cs @@ -2,7 +2,6 @@ using System; using System.Threading.Tasks; using AutoMapper; using DevHive.Data.Repositories; -using DevHive.Services.Models.Identity; using DevHive.Services.Options; using DevHive.Services.Services; using DevHive.Web.Models.Identity.User; @@ -19,15 +18,16 @@ namespace DevHive.Web.Controllers public UserController(DevHiveContext context, IMapper mapper, JWTOptions jwtOptions) { - //this._service = new UserService(context, mapper, jwtOptions); + this._service = new UserService(context, mapper, jwtOptions); } [HttpPost] [Route("Login")] public async Task<IActionResult> Login([FromBody] LoginWebModel loginWebModel) { - //return await this._service.LoginUser(loginDTO); - throw new NotImplementedException(); + var loginDTO = + return await this._service.LoginUser(loginDTO); + //throw new NotImplementedException(); } [HttpPost] |
