Пример #1
0
 public void Search(string word, string fileName)
 {
     var validateFileAndStatus = new VerifierFileAndStatus(fileName);
     fileName = validateFileAndStatus.VerifyFileName();
     var view = new TaskView(fileName);
     view.ViewTaskMatch(word);
 }
Пример #2
0
 public void SortDescending(string fileName, string sortBy)
 {
     var validateFileAndStatus = new VerifierFileAndStatus(fileName);
     fileName = validateFileAndStatus.VerifyFileName();
     var view= new TaskView(fileName);
     view.SortDesc(sortBy);
 }
Пример #3
0
 public void GetTaskByCategory(string fileName, string category)
 {
     var validateFileAndStatus = new VerifierFileAndStatus(fileName);
     fileName = validateFileAndStatus.VerifyFileName();
     var view = new TaskView(fileName);
     view.ViewTaskByCategory(category);
 }