Ejemplo n.º 1
0
 public static DTO.TimeTypeDTO ConvertTimeTypeToDTO(DAL.TimeType tdal)
 {
     DTO.TimeTypeDTO w = new DTO.TimeTypeDTO()
     {
         TimeTypeId   = tdal.TimeTypeId,
         TimeTypeName = tdal.TimeTypeName
     };
     return(w);
 }
Ejemplo n.º 2
0
 public static DAL.TimeType ConvertTimeTypeToDAL(DTO.TimeTypeDTO tdto)
 {
     DAL.TimeType w = new DAL.TimeType()
     {
         TimeTypeId   = tdto.TimeTypeId,
         TimeTypeName = tdto.TimeTypeName
     };
     return(w);
 }