Example #1
0
        //Gets Data for Specific Employee Task
        private async Task <EmployeeTasksViewModel> GetEmployeeTaskDataToViewModel(int id)
        {
            var dto = await this.employeeTaskService.GetEmployeeTaskById(id);

            EmployeeTasksViewModel employeeTasksViewModel = _objectMapper.EmployeeTaskToEmployeeTasksViewModel(dto);

            return(employeeTasksViewModel);
        }