public ActionResult details()
        {
            string userlogin = User.Identity.Name;

            var orderReport = from m in StoreDb.WebsiteOrders
                              where (m.Website.Webmaster.Username == userlogin && m.MoneyStatus == 1)
                              select m;
            var url = from web in StoreDb.Websites
                      where web.Webmaster.Username == userlogin
                      select web;



            ReportDetailsViewModels model = new ReportDetailsViewModels() { list = orderReport.ToList(),listUrl=url.ToList()};
      
            return View(model);
        }
        public ActionResult details()
        {
            string userlogin = User.Identity.Name;

            var orderReport = from m in StoreDb.WebsiteOrders
                              where (m.Website.Webmaster.Username == userlogin && m.MoneyStatus == 1)
                              select m;

            int total = 0;
            foreach (var x in orderReport)
            {
                total += x.Amount;

            }
            var url = from web in StoreDb.Websites
                      where web.Webmaster.Username == userlogin
                      select web;


            TransactionLogViewModel.AddLog(userlogin + " has just viewed the Report Details!", DateTime.Now);

            ReportDetailsViewModels model = new ReportDetailsViewModels() { list = orderReport.ToList(),listUrl=url.ToList()};
      
            ViewData["total"] = total.ToString("n0");
            return View(model);
        }