private static List <M_Reject> getRejectReasons(string ParentReject_Category) { Rejectitem objReject = new Rejectitem(); List <M_Reject> UCategorylist = objReject.getReasons(ParentReject_Category); return(UCategorylist); }
public ActionResult RejectSD(string Rid) { Rejectitem objReject = new Rejectitem(); string ParentReject_Category = System.Configuration.ConfigurationManager.AppSettings["Certifi_Rject"].ToString(); List <M_Reject> Rlist = objReject.getReasons(ParentReject_Category); ViewBag.Bag_RejectReasons = new SelectList(Rlist, "Reject_ReasonId", "Reject_ReasonName"); ViewBag.Bag_RejectingID = Rid; return(PartialView("P_RejectSupportDoc")); }