public PartialViewResult PrescriptionList(int?EmpId, int?InstID, int?UserID, bool?ShowUser, bool?ShowEmp, bool?ShowInst)

        {
            var model = new PrescriptionListViewModel()
            {
            };

            model.emp_id           = EmpId;
            model.inst_id          = InstID;
            model.show_employee    = ShowEmp;
            model.show_institution = ShowInst;
            model.show_user        = ShowUser;
            model.prescriptions    = PrescriptionRep.FindBy(i => i.emp_id == EmpId).OrderByDescending(i => i.date_approved_HES).ToList();

            return(PartialView("PrescriptionList", model));
        }
        public PrescriptionListWindow(PrescriptionListViewModel prescriptionListViewModel)
        {
            InitializeComponent();

            PrescriptionListViewModel = prescriptionListViewModel;
        }