// GET: Profile/Post public ActionResult Index() { string lang = Request.Cookies.Get("languageCookie").Value; CommunitiesApiController communitydata = new CommunitiesApiController(); PostVM postModel = new PostVM(); postModel.communities = new SelectList(communitydata.GetCommunityList(lang), "Id", "Name"); postModel.answerTypes = new SelectList(apiData.GetAnswerTypesList(lang), "answerType", "answerTypeName"); postModel.indexQuestions = apiData.Get().ToList(); // return PartialView("_Feed", postModel); return(View(postModel)); }