internal TaskForDetail getTaskForDetail(int taskId)
        {
            TaskForDetail taskForDetail = _context.Tasks.Where(t => t.Id == taskId).Select(t => new TaskForDetail {
                id = t.Id, assignerId = t.AssignerId, assignerName = t.Assigner.Name, content = t.Description, title = t.Title, endDate = t.EndDate.Value.ToShortDateString(), startDate = t.StartDate.Value.ToShortDateString(), solutionDescription = t.SolutionDescription
            }).SingleOrDefault();

            return(taskForDetail);
        }
        public IActionResult getTaskDetail(int taskId)
        {
            TaskForDetail taskForDetail = _taskRepository.getTaskForDetail(taskId);

            return(Json(taskForDetail));
        }