コード例 #1
0
		/// <summary>
		/// 
		/// </summary>
		/// <returns></returns>
		public ActionResult Index( FormCollection Form )
		{
			using( FAutoScopedLogTimer LogTimer = new FAutoScopedLogTimer( this.GetType().ToString(), bCreateNewLog: true ) )
			{
			    var model = new CSV_ViewModel();
			    model.DateTimeFrom = DateTime.Now.AddDays(-7);
			    model.DateTimeTo = DateTime.Now;
			    model.DateFrom = (long) (model.DateTimeFrom - CrashesViewModel.Epoch).TotalMilliseconds;
			    model.DateTo = (long) (model.DateTimeTo - CrashesViewModel.Epoch).TotalMilliseconds;
                return View("Index", model);
			}
		}