public async Task <IActionResult> CreateAsync([FromBody] CreateUserLogin userEntity) { var createdUserLogin = await userLoginRepository.CreateUserLoginAsync(userEntity); if (createdUserLogin == null) { return(NotFound()); } return(Ok(createdUserLogin.ApiGetUser())); }