public RequestProcessDTO GetRequestDataById(string id)
        {
            var vacation = _vacations.GetById(id);

            if (vacation != null)
            {
                var    employee     = _employees.GetById(vacation.EmployeeID);
                var    vacationType = _vacationTypes.GetById(vacation.VacationTypeID).VacationTypeName;
                var    jobTitle     = _jobTitles.GetById(employee.JobTitleID).JobTitleName;
                var    status       = _vacationStatusTypes.GetById(vacation.VacationStatusTypeID).VacationStatusName;
                string processedBy  = null;

                if (vacation.ProcessedByID != null)
                {
                    var processedByTemp = _employees.GetById(vacation.ProcessedByID);
                    processedBy = string.Format($"{processedByTemp.Name} {processedByTemp.Surname}");
                }

                var request = new RequestProcessDTO
                {
                    EmployeeID       = employee.EmployeeID,
                    VacationID       = vacation.VacationID,
                    Comment          = vacation.Comment,
                    DateOfBegin      = vacation.DateOfBegin,
                    DateOfEnd        = vacation.DateOfEnd,
                    Duration         = vacation.Duration,
                    EmployeeName     = string.Format($"{employee.Name} {employee.Surname}"),
                    JobTitle         = jobTitle,
                    Status           = status,
                    VacationType     = vacationType,
                    TeamLeadName     = employee.EmployeesTeam.Count.Equals(0) ? Empty : _employees.GetById(employee.EmployeesTeam.First().TeamLeadID).Name,
                    TeamName         = employee.EmployeesTeam.Count.Equals(0) ? Empty : employee.EmployeesTeam.First().TeamName,
                    ProcessedBy      = processedBy,
                    EmployeesBalance = employee.VacationBalance
                };

                return(request);
            }
            else
            {
                return(new RequestProcessDTO());
            }
        }