public async Task <IActionResult> Index(string username, DateTime?start, DateTime?end, string invalidOrderSearch)
 {
     return(View(await _ordersQuery.IndexHelperAsync(username, start, end, 10, invalidOrderSearch, true)));
 }
        public async Task <ActionResult> Index(DateTime?start, DateTime?end, string invalidOrderSearch)
        {
            var username = User.Identity.GetUserName();

            return(View(await _ordersQuery.IndexHelperAsync(username, start, end, invalidOrderSearch, false)));
        }