public void Creates_Urgent_Order() { UrgentOrderService urgentMedicineOrderService = new UrgentOrderService(Create_stub_repository_urgen_orders()); UrgentMedicineOrder order = urgentMedicineOrderService.createIUrgentMedicineOrder(new UrgentMedicineOrderDto("Andol", 1, "api1", "12/12/2020")); Assert.NotNull(order); }
public IActionResult GetMedicament() { return(Ok(UrgentOrderService.SendRequestForOrder())); }
public UrgentOrderController(MyDbContext context) { UrgentOrderService = new UrgentOrderService(context); }