// GET: Post public async Task <IActionResult> Index() { return(View(_repo.GetAllByUser(_userManager.GetUserId(User)))); }