Exemplo n.º 1
0
 public List <TimeslotsWeight> GetTimeslotsWeight()
 {
     using (var db = new ScheduleKSTUContext())
     {
         return(db.Set <TimeslotsWeight>().FromSql("dbo.GetTimeslotsWeight").AsNoTracking().ToList());
     }
 }
Exemplo n.º 2
0
 public List <TableWeight> GetSubjectClassWeight()
 {
     using (var db = new ScheduleKSTUContext())
     {
         return(db.Set <TableWeight>().FromSql("dbo.GetSubjectClassWeight").AsNoTracking().ToList());
     }
 }