internal virtual void ResolveTask(string remarks, TaskDb taskDb) { TaskStatus = TaskStatus.Closed; ResolutionRemarks = remarks; this.ClosedDate = DateTime.Now; taskDb.CreateTask(this); }
internal virtual void SaveTask(TaskDb taskDb) { taskDb.CreateTask(this); }
internal virtual void CreateTask(TaskDb taskDb) { TaskStatus = TaskStatus.Open; this.CreateDate = DateTime.Now; taskDb.CreateTask(this); }