예제 #1
0
 public static DoctorsOrder DoctorsOrderDtoToDoctorsOrder(DoctorsOrderDto dto)
 {
     return(new DoctorsOrder(dto.IsUrgent, dto.DateStart, dto.DateEnd, dto.IsOrdered, dto.IsFinished));
 }
예제 #2
0
 public DoctorsOrder Create(DoctorsOrderDto dto)
 {
     return(DoctorOrderRepository.Add(DoctorsOrderAdapter.DoctorsOrderDtoToDoctorsOrder(dto)));
 }