Пример #1
0
 public UrgentMedicineOrder Create(UrgentMedicineOrderDto dto)
 {
     return(UrgentMedicineOrderRepository.Create(UrgentMedicineOrderAdapter.UrgentMedicineOrderDtoUrgentMedicineOrder(dto)));
 }
Пример #2
0
 public UrgentMedicineOrder createIUrgentMedicineOrder(UrgentMedicineOrderDto dto)
 {
     return(UrgentMedicineOrderAdapter.UrgentMedicineOrderDtoUrgentMedicineOrder(dto));
 }
Пример #3
0
 private IActionResult CretaeUrgentOrder(List <MedicineName> pharmaciesWithMedicine, UrgentMedicineOrder urgentMedicineOrder)
 {
     UrgentOrderService.Create(UrgentMedicineOrderAdapter.UrgentMedicineOrderToUrgentMedicineOrderDto(urgentMedicineOrder));
     return(Ok(pharmaciesWithMedicine[0].Name));
 }