Ejemplo n.º 1
0
 public List <ShowPatient_Result> Get()
 {
     using (EMREntities context = new EMREntities())
     {
         return(context.ShowPatient().ToList());
     }
 }
Ejemplo n.º 2
0
 public List <User> GetAll()
 {
     using (var ctx = new EMREntities(dbCon))
     {
         return(ctx.Users.Where(x => x.IsProvider == false).ToList());
     }
 }