public async Task <ActionResult> Newswl(string whitelabel) { var elem = await Context.Routes.SingleAsync(x => x.Domain == whitelabel); elem.AddView(); this.SetTheme(elem); await Context.SaveChangesAsync(); this.SetTheme(elem); var phs = elem as Photoshop; if (phs != null) { var model = new WhiteLabelNewsViewData() { Route = phs.As <PhotoshopViewModel.Summary>(), Categorieses = Context.Categories.ToList().As <IList <CategoryViewModel> >(), Wall = _wallService.GetWallForRoute(phs.ID).ToList() }; return(View("News", model)); } return(HttpNotFound()); }