public async Task <IActionResult> GetAllUsers() { var ret = await _dbHandler.GetUsersAsync(); if (ret == null) { return(BadRequest(new GeneralMessage() { Message = "User listing has failed" })); } return(Ok(ret)); }