public IActionResult Inbox(InboxViewModel model) { InfoHandler a = new InfoHandler(_userManager, _signInManager, _userDateTime); a.inbox(_userManager.GetUserId(User), model); a.Readmsg(_userManager.GetUserId(User), model); a.deletedMsg(_userManager.GetUserId(User), model); return(View(model)); }