Пример #1
0
 public Task(string description, ETaskPriority taskPriority, DateTime startDate, DateTime endDate)
 {
     Description  = description;
     TaskPriority = taskPriority;
     StartDate    = startDate;
     EndDate      = endDate;
 }
Пример #2
0
 public CommonTaskDto(int taskId, string description, ETaskPriority taskPriority, DateTime endDate, double time)
 {
     TaskId       = taskId;
     Description  = description;
     TaskPriority = taskPriority;
     EndDate      = endDate;
     Time         = time;
 }
Пример #3
0
 public Task <Task> CreateAsync(string description, ETaskPriority taskPriority, DateTime startDate, DateTime endDate)
 {
     return(System.Threading.Tasks.Task.Factory.StartNew(() => new Task(description, taskPriority, startDate, endDate)));
 }