public async Task <ActionResult> Exceptions()
        {
            var search = GetSearch();
            var errors = await CurrentStore.GetErrorsAsync(search).ConfigureAwait(false);

            var vd = GetModel(errors);

            vd.LoadAsyncSize = Current.Settings.Exceptions.PageSize;
            return(View(vd));
        }
        public async Task <ActionResult> Exceptions()
        {
            var search = await GetSearchAsync();

            var errors = await CurrentStore.GetErrorsAsync(search);

            var vd = GetModel(errors);

            vd.SearchParams  = search;
            vd.LoadAsyncSize = Module.Settings.PageSize;
            return(View(vd));
        }
Beispiel #3
0
        public async Task <ActionResult> Exceptions(string q, bool showDeleted = false)
        {
            var search = GetSearch();

            search.SearchQuery    = q;
            search.IncludeDeleted = showDeleted;

            var errors = await CurrentStore.GetErrorsAsync(search).ConfigureAwait(false);

            var vd = GetModel(errors);

            vd.Search        = q;
            vd.LoadAsyncSize = Current.Settings.Exceptions.PageSize;
            return(View(vd));
        }