public void CompleteTask()
 {
     Status           = Status.Complete;
     CompleteDatetime = DateTime.Now;
     IsComplete       = true;
     Toastr.Success("Complete", "The task has been marked as complete");
 }
 public void StartTask()
 {
     Status          = Status.Started;
     StartedDatetime = DateTime.Now;
     Toastr.Info("Started", "The '" + Title + "' task has been started");
 }
 public void PauseTask()
 {
     Status         = Status.Paused;
     PausedDatetime = DateTime.Now;
     Toastr.Info("Paused", "The '" + Title + "' task has been paused");
 }
 public void CancelTask()
 {
     Status      = Status.Cancelled;
     IsCancelled = true;
     Toastr.Info("Cancelled", "The task has been cancelled");
 }