Exemple #1
0
 public ActionResult <DeviceInfo> CreateUserAccount([FromBody] DtoCreateUser dtoCreateUser)
 {
     try
     {
         var userBiz          = new UserBiz();
         var newDtoCreateUser = userBiz.CreateUserAccount(dtoCreateUser);
         return(Ok(newDtoCreateUser));
     }
     catch (Exception ex)
     {
         return(BadRequest(ex));
     }
 }