Ramco Ramco

Ramco Ramco

  • 1.5k
  • 577
  • 28.6k

TempData does not exist incurrent context

Jun 30 2021 6:29 AM

Hi

I have below code in a CLASS & it givess message TempData does not exist incurrent context

catch (Exception ex)
{
    ExceptionLogging.SendExcepToDB(ex);
    TempData["Message"] = ex.Message;
}

Thanks


Answers (3)