public IActionResult Index() { LogDetails log = new LogDetails() { VisitTime = DateTime.Now, IP = Request.HttpContext.Connection.RemoteIpAddress.ToString(), Description = "صفحه اصلی" }; _LogDetails.Add(log); var mainPageobj = MainPageSingleton.GetInstance(_RepoPrc, _mapper); return(View(mainPageobj)); }
public void ResetMain() { MainPageSingleton.DoItNull(); }