public IActionResult Post(NewUser user) { var newUser = automapper.Map <NewUser, User>(user); appServices.CreateUser(newUser); return(Ok("HttpCode 200 OK")); }
public IActionResult Post(User newUser) { appServices.CreateUser(newUser); return(Ok("HttpCode 200 OK")); }