public async Task <IActionResult> AddUser(User user) { try { await userHandler.AddAsync(user); return(Ok(new { Data = new { msg = "OK" }, Msg = string.Empty })); } catch (Exception ex) { return(BadRequest(new { Data = new { msg = "KO" }, Msg = "Ops something is wrong on backend" })); } }