public ServicesHome() { _dc = new ecommersEntities(); _result = new DataHomeSite(); ListDisposable.Add(_dc); }
public ActionResult Index() { DataHomeSite data = _service.GetDataHome(); return(View(data)); }