public IActionResult Index() { AppUser app = new AppUser(); HttpContext.Session.SetObject("deneme", app); var s = HttpContext.Session.GetObject <AppUser>("deneme"); return(Ok(_urunRepository.getAll())); }
public IActionResult Index() { AppUser app = new AppUser(); HttpContext.Session.SetObject("deneme", app); var s = HttpContext.Session.GetObject <AppUser>("deneme"); return(Ok(_urunRepository.getAll())); }