removing todo - return userId from CreateUser API method

#95
This commit is contained in:
Chris.Watts90@outlook.com 2018-06-06 10:51:24 +01:00
parent 7552390bec
commit ebbc8c0fde

View File

@ -93,8 +93,7 @@ namespace WindowsDataCenter
{
int userId;
_repo.UpdateUser(user, out userId);
//TODO return ID.
return ResponseMessage(new HttpResponseMessage(HttpStatusCode.OK) {Content = new StringContent("unknownIdTODO")});
return ResponseMessage(new HttpResponseMessage(HttpStatusCode.OK) {Content = new StringContent(userId.ToString())});
}
[HttpPost]