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)); } }