public JsonResult deleteDonor(int iDonorProgramId) { DonorProgramBAL objDonorProgramBAL = new DonorProgramBAL(); string strResult = objDonorProgramBAL.deleteDonor(iDonorProgramId); return(Json(strResult, JsonRequestBehavior.AllowGet)); }
public ActionResult EditDonor(int iDonorProgramId) { DonorProgramBAL objDonorProgramBAL = new DonorProgramBAL(); DonorProgramBO objDonorProgramBO = objDonorProgramBAL.EditDonor(iDonorProgramId); return(PartialView("AddDonor", objDonorProgramBO)); }
public ActionResult GetDonorList() { DonorProgramBAL objDonorProgramBAL = new DonorProgramBAL(); List <DonorProgramBO> objDonorProgramBOList = objDonorProgramBAL.GetDonorList(); return(PartialView("GetDonorList", objDonorProgramBOList)); }
public JsonResult SaveDonor(DonorProgramBO Data) { DonorProgramBAL objDonorProgramBAL = new DonorProgramBAL(); Data.IsActive = true; string strResult = objDonorProgramBAL.SaveorUpdateDonor(Data, Convert.ToInt32(ViewData["LoginUserId"])); return(Json(strResult, JsonRequestBehavior.AllowGet)); }