public ActionResult <User> AddUser([Required][FromBody] string userName) { _logger.LogInformation("user creation initated for {userName}", userName); var user = _userOperations.AddUser(userName); return(Ok(user)); }
public Response <Guid?> AddUser(Request <LoginUserModel> req) { return(_userOperations.AddUser(req.Value)); }