public JsonResult Update(Hospital hospital)
        {
            bool alterou = repository.Alterar(hospital);

            return(Json(new { status = alterou }));
        }