Пример #1
0
 public Comment(string content, User owner, Task task, DateTime createdDate, DateTime reminderDate, CommentType type)
 {
     Content      = content;
     Owner        = owner;
     Task         = task;
     CreatedDate  = createdDate;
     ReminderDate = reminderDate;
     Type         = type;
 }
Пример #2
0
 public Comment(string content, int taskId, DateTime createdDate, DateTime reminderDate, CommentType type)
 {
     TaskId       = taskId;
     Content      = content;
     CreatedDate  = createdDate;
     ReminderDate = reminderDate;
     Type         = type;
     Owner        = default !;