예제 #1
0
 public static List <WeekDTO> getWeekList()
 {
     using (Gymnastics_Studio_DataEntities GSDE = new Gymnastics_Studio_DataEntities())
     {
         List <Week> WeekList = new List <Week>();
         WeekList = GSDE.Weeks.ToList();
         return(WeekDTO.ConvertListToDTO(WeekList));
     }
 }