@Nathvi, I don't know how to call part of the function, // Update user in database
UserRepository.UpdateUser(userToUpdate); because I'm still learning asp.net and c#, and this update method is much complicated than the other ones so I'm not sure how my functin in UserController will look like