Ramco Ramco

Ramco Ramco

  • 436
  • 3.4k
  • 555.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)