コード例 #1
0
 public DTO.EmployeeResponsibleForDTO DB2DTO_EmployeeResponsibleFor(EmployeeMng_Employee_View dbItem, int userId)
 {
     DTO.EmployeeResponsibleForDTO dtoItem = AutoMapper.Mapper.Map <EmployeeMng_Employee_View, DTO.EmployeeResponsibleForDTO>(dbItem);
     return(dtoItem);
 }
コード例 #2
0
        public DTO.Employee DB2DTO_Employee(EmployeeMng_Employee_View dbItem, int userId)
        {
            DTO.Employee dtoItem = AutoMapper.Mapper.Map <EmployeeMng_Employee_View, DTO.Employee>(dbItem);

            return(dtoItem);
        }