public ActionResult AddFeedingScheme(FeedingSchemeView model) { if (ModelState.IsValid) { ViewBag.BatchTypeid = new SelectList(_bTypeBl.GetAllBatchTypes(), "BatchTypeid", "BatchTypeDesc"); _fSchemeBl.AddFeedScheme(model); return(RedirectToAction("GetAllSchemes")); } return(View()); }