// GET: SimpleContentApp/Home public ActionResult Index() { CamlQueryResponse <List <Item> > response = ContentApp.Service.GetList(new Paging() { PageIndex = 1, PageSize = 20 }); MappingUser map = ContentApp.Service.GetCurrentUser(); ViewBag.Settings = ContentApp.UserSettings; ViewBag.Items = new ConverterService().ConvertListingItems(response.RelevantResults); ViewBag.MappingUser = map; return(View()); }
public BaseWPExportData(WPExportDTO export) { this._export = export; MappingPost mappingPost = new MappingPost(); this.MapperPost = mappingPost.Get; MappingProducts mappingProducts = new MappingProducts(); this.MapperProduct = mappingProducts.Get; MappingCategory mappingCategory = new MappingCategory(); this.MapperCategory = mappingCategory.Get; MappingTag mappingTag = new MappingTag(); this.MapperTag = mappingTag.Get; MappingUser mappingUser = new MappingUser(); this.MapperUser = mappingUser.Get; }