Пример #1
0
        public ActionResult AddMedicines(int id)
        {
            AppointmentId  = id;
            TempData["id"] = AppointmentId;
            medicine       = new MedicinesQuantity();
            medicine       = patientBusinessLayer.CheckIdInList(AppointmentId);

            if (medicine == null)
            {
                return(View(db.Medicines.ToList()));
            }

            else
            {
                return(RedirectToAction("InvoiceList", "Invoice", new { AppointmentId = AppointmentId }));
            }
        }