public IEnumerable <ViewSchedules> GetSchedules()
 {
     return(schedulesManager.GetSchedules());
 }
Exemplo n.º 2
0
 /// <summary>
 /// 获取用户指定日期的Schdules
 /// </summary>
 /// <param name="date"></param>
 /// <param name="userId"></param>
 /// <returns></returns>
 public List <SchedulesEntity> GetSchedules(DateTime date, int userId)
 {
     return(mgr.GetSchedules(date, userId));
 }