Exemplo n.º 1
0
 public static HourInfoList HourFetchInfoList(ITask[] task)
 {
     return(HourService.HourFetchInfoList(
                new HourCriteria
     {
         TaskId = task.Select(row => row.TaskId).ToArray()
     }));
 }
Exemplo n.º 2
0
 public static HourInfoList HourFetchInfoList(ITask task)
 {
     return(HourService.HourFetchInfoList(
                new HourCriteria
     {
         TaskId = new[] { task.TaskId }
     }));
 }
Exemplo n.º 3
0
 public static HourInfoList HourFetchInfoList(DateTime startDate, DateTime endDate)
 {
     return(HourService.HourFetchInfoList(
                new HourCriteria
     {
         Date = new DateRangeCriteria(startDate, endDate)
     }));
 }
Exemplo n.º 4
0
 public static HourInfoList HourFetchInfoList(DateTime startDate, DateTime endDate)
 {
     return(HourService.HourFetchInfoList(
                new HourCriteria
     {
         UserId = new[] { BusinessPrincipal.GetCurrentIdentity().UserId },
         Date = new DateRangeCriteria(startDate, endDate)
     }));
 }
Exemplo n.º 5
0
 public static HourInfoList HourFetchInfoList()
 {
     return(HourService.HourFetchInfoList(
                new HourCriteria()));
 }