Example #1
0
        public ActionResult <User> AddUser([Required][FromBody] string userName)
        {
            _logger.LogInformation("user creation initated for {userName}", userName);
            var user = _userOperations.AddUser(userName);

            return(Ok(user));
        }
Example #2
0
 public Response <Guid?> AddUser(Request <LoginUserModel> req)
 {
     return(_userOperations.AddUser(req.Value));
 }