//number of items present in stock
        public ActionResult NoOfItem()
        {
            emed.Models.DB53Entities db = new emed.Models.DB53Entities();
            //CrMVCApp.Models.Customer c;
            var e = db.NoOfItemsInstocks.ToList();

            NoOfItemsInstock rpt = new NoOfItemsInstock();

            rpt.Load();
            rpt.SetDataSource(e);
            Stream s = rpt.ExportToStream(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat);

            return(File(s, "C:\\Users\\M.ALI\\Documents\\ProjectAreports\\StaffCountReport.pdf"));
        }
        public ActionResult MedicineInfo()
        {
            emed.Models.DB53Entities db = new emed.Models.DB53Entities();
            //CrMVCApp.Models.Customer c;
            var c = (from b in db.MedicineInfoes select b).ToList();

            MedicineInfo rpt = new MedicineInfo();

            rpt.Load();
            rpt.SetDataSource(c);
            Stream s = rpt.ExportToStream(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat);

            return(File(s, "C:\\Users\\M.ALI\\Documents\\ProjectAreports\\MedicineInfoReport.pdf"));
        }