diff options
| author | Danail Dimitrov <danaildimitrov321@gmail.com> | 2020-12-10 15:24:20 +0200 |
|---|---|---|
| committer | Danail Dimitrov <danaildimitrov321@gmail.com> | 2020-12-10 15:24:20 +0200 |
| commit | 123d1534a70d7909eca234f85f95538c538f6085 (patch) | |
| tree | 80bc6439ceb34fec0a33a999e972c4b2ae8abbef /API/Service/UserService.cs | |
| parent | cc78fe1068a5c2f32be87201516f365bd392db74 (diff) | |
| download | DevHive-123d1534a70d7909eca234f85f95538c538f6085.tar DevHive-123d1534a70d7909eca234f85f95538c538f6085.tar.gz DevHive-123d1534a70d7909eca234f85f95538c538f6085.zip | |
Mapper added : must fix it
Diffstat (limited to 'API/Service/UserService.cs')
| -rw-r--r-- | API/Service/UserService.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/API/Service/UserService.cs b/API/Service/UserService.cs index 0bc4939..0bb53c0 100644 --- a/API/Service/UserService.cs +++ b/API/Service/UserService.cs @@ -24,9 +24,9 @@ namespace API.Service { //TODO: MAKE VALIDATIONS OF PROPER REQUEST - //Map UserDTO -> User + User user = Mapper.UserDtoToUser(userDTO); + await this._dbRepository.AddAsync(user); - //await this._dbRepository.AddAsync(newUser); return HttpStatusCode.OK; } |
