Fixed unnecessary call
This commit is contained in:
parent
10cd041d38
commit
d6db2b6b56
@ -71,7 +71,6 @@ namespace SessionCompanion.Controllers
|
|||||||
Password = userRegisterModel.Password,
|
Password = userRegisterModel.Password,
|
||||||
Username = userRegisterModel.Username
|
Username = userRegisterModel.Username
|
||||||
};
|
};
|
||||||
var user = await _service.SearchUserByUsername(userRegisterModel.Username);
|
|
||||||
await _service.Create(userModel);
|
await _service.Create(userModel);
|
||||||
await _service.SaveAsync();
|
await _service.SaveAsync();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user