public void Search(string word, string fileName) { var validateFileAndStatus = new VerifierFileAndStatus(fileName); fileName = validateFileAndStatus.VerifyFileName(); var view = new TaskView(fileName); view.ViewTaskMatch(word); }
public void SortDescending(string fileName, string sortBy) { var validateFileAndStatus = new VerifierFileAndStatus(fileName); fileName = validateFileAndStatus.VerifyFileName(); var view= new TaskView(fileName); view.SortDesc(sortBy); }
public void GetTaskByCategory(string fileName, string category) { var validateFileAndStatus = new VerifierFileAndStatus(fileName); fileName = validateFileAndStatus.VerifyFileName(); var view = new TaskView(fileName); view.ViewTaskByCategory(category); }