public ActionResult Index() { var res = _dynamicHTMLRepository.GetHTMLDbSet(1); _log.Log("Result success", LoggingEventType.info); return(View(_dynamicHTMLRepository.GetHTMLMasterTags(res))); }
public string Index(List <HTMLGenerationEntity> hTMLGenerationEntity) { if (ModelState.IsValid) { var attributes = Utils.ParseRequest(Request.Form); try { var res = _consumerRepository.ValidateConsumer(1, attributes); ViewData.Add("validatecustomer", (res.Count > 0) ? true : false); } catch (Exception ex) { _log.Log(ex, LoggingEventType.error); return("Error"); } } return("Success"); }