// GET: News
 public ActionResult Index(int id)
 {
     UniteOfWork uow = new UniteOfWork();
     ViewData["Digests"] = uow.DigestsRepository.GetLast3Digests();
     ViewData["News"] = uow.NewsRepository.Get(id);
     if(ViewData["News"] != null)
     {
         return View();
     }else
     {
         return new HttpNotFoundResult();
     }
 }
 public PublicationsRepository(UniteOfWork uow,ClientContext context, string title)
 {
     this.context = context;
     Title = title;
     this.uow = uow;
 }
 // GET: corporatebusiness
 public ActionResult Index()
 {
     UniteOfWork uow = new UniteOfWork();
     ViewData["CorpBussines"] = uow.CorporateBusinessRepository.GetCorpBussines();
     return View();
 }
 // GET: RetailBusiness
 public ActionResult Index()
 {
     UniteOfWork uow = new UniteOfWork();
     ViewData["Bussines"] = uow.RetailBusinessRepository.GetBussines();
     return View();
 }
 // GET: BecomePartner
 public ActionResult Index()
 {
     UniteOfWork uow = new UniteOfWork();
     ViewData["Partner"] = uow.BecomePartnerRepository.GetPartners();
     return View();
 }
 // GET: Solution
 public ActionResult Index()
 {
     UniteOfWork uow = new UniteOfWork();
     ViewData["solution"] = uow.SolutionRepository.GetSolution();
     return View();
 }