public async Task <IHttpActionResult> GetAll() { var result = await accountbusiness.GetAll(); if (result != null) { return(Ok(result)); } return(Content(HttpStatusCode.InternalServerError, "Error")); }