public IActionResult Index(string category, string filter) { var vm = new CareerIndexViewModel(); string city = GetCity(); vm.Careers = _CareerService.GetCareers(city); if (DateTime.Now.Second >= 45) { throw new System.Exception("kaboom"); } if (DateTime.Now.Second > 10 && DateTime.Now.Second < 15) { System.Threading.Thread.Sleep(new TimeSpan(0, 0, 13)); } return(View(vm)); }