Example #1
0
 //[Authorize(Roles = Role.Clinician + "," + Role.OfficeAdmin + "," + Role.SuperAdmin)]
 public async Task <ActionResult <List <UpdatePatient> > > GetPatientsByID(int id)
 {
     try
     {
         return(await _clinicianRepo.GetPatientsByID(id));
     }
     catch (Exception)
     {
         return(StatusCode(500, "Internal Server Error"));
     }
 }