コード例 #1
0
        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);
        }
コード例 #2
0
 public IActionResult GetMedicament()
 {
     return(Ok(UrgentOrderService.SendRequestForOrder()));
 }
コード例 #3
0
 public UrgentOrderController(MyDbContext context)
 {
     UrgentOrderService = new UrgentOrderService(context);
 }