public ActionResult IpdCountElderly() { IpdCountModel model = new IpdCountModel(); IpdCountProviders IpdPro = new IpdCountProviders(); model.TotalIpdPatient = IpdPro.GetTotalIpdPatient(); model.TotalIpdMalePatient = IpdPro.GetTotalIpdMalePatient(); model.TotalIpdFemalePatient = IpdPro.GetTotalIpdFemalePatient(); return(View(model)); }
public ActionResult IpdCountElderly(string year, int month) { IpdCountModel model = new IpdCountModel(); IpdCountProviders IpdPro = new IpdCountProviders(); model = IpdPro.getjanuarycount(year, month); model.TotalIpdPatient = IpdPro.GetTotalIpdPatient(); model.Year = year; model.Month = month; model.TotalIpdMalePatient = IpdPro.GetTotalIpdMalePatient(); model.TotalIpdFemalePatient = IpdPro.GetTotalIpdFemalePatient(); return(View(model)); }