public ActionResult GetRadio() { home _myRadioList = new home(); return View(_myRadioList); }
public ActionResult LeaveFeedbackPost(home _objFeedback) { var myPost = _homeRepository.AddUserPost(_objFeedback); return View(); }
public ActionResult GetRadioId(home _objModel, int id) { using (var _libEntity = new LibEntities()) { var userCheck = _libEntity.resources_tb_fdbk.FirstOrDefault(x => x.entry_id == id && x.user_id == LibSecurity.UserId); if (_objModel.SelectRadioItem != null || _objModel.Comments != null) { var addRadioId = _homeRepository.AddRadioId(_objModel, id); string entryId = id.ToString(); return RedirectToAction("ReturnResMonth", new { entryId = id.ToString() }); } else { return Content("These are the variables " + id + " , " + _objModel.SelectRadioItem + _objModel.Comments); } } }
public ActionResult LibFaq(home model) { var libFaq = _adminRepository.GetCatList(); model.FaqList = libFaq.Select(x => new SelectListItem() { Text = x.CatName, Value = x.CatId.ToString() }); return View(model); }