public async Task <IActionResult> Post([FromBody] UserCreateView user) { string callBack = Url.Action("Activate", "User", null, Request.Scheme); var userCreateOut = await _service.Create(user, callBack); if (userCreateOut is null) { return(NotFound(new { message = "Invalid username or password." })); } return(Ok(new { message = userCreateOut.Description })); }