public List <Task> getAllTasks()
        {
            var listOfTasks = _taskManagerRepository.getAllTasks();

            if (!listOfTasks.Any())
            {
                throw new ArgumentException("No Tasks Found!");
            }

            return(listOfTasks);
        }