Beispiel #1
0
 public static TaskBaseWrapper GetSample()
 {
     return new TaskBaseWrapper(0)
         {
             DeadLine = (ApiDateTime)DateTime.UtcNow.AddMonths(1),
             IsClosed = false,
             Responsible = EmployeeWraper.GetSample(),
             Category = TaskCategoryBaseWrapper.GetSample(),
             CanEdit = true,
             Title = "Send a commercial offer",
             AlertValue = 0
         };
 }
Beispiel #2
0
 public static TaskWrapper GetSample()
 {
     return new TaskWrapper(0)
         {
             Created = ApiDateTime.GetSample(),
             CreateBy = EmployeeWraper.GetSample(),
             DeadLine = ApiDateTime.GetSample(),
             IsClosed = false,
             Responsible = EmployeeWraper.GetSample(),
             Category = TaskCategoryBaseWrapper.GetSample(),
             CanEdit = true,
             Title = "Send a commercial offer",
             AlertValue = 0
         };
 }