public async Task <IEnumerable <TaskViewModel> > GetAllParent()
        {
            var parentTaskEntities = await _taskManagerRepository.GetAllParentTasks();

            var parentTasks = new List <TaskViewModel>();

            foreach (var parentTaskEntity in parentTaskEntities)
            {
                var taskViewModel = _mapper.Map <TaskViewModel>(parentTaskEntity);
                parentTasks.Add(taskViewModel);
            }

            return(parentTasks);
        }