Esempio n. 1
0
        public async Task OnGetAsync(string pageNo, string featureName, bool deleted, FeatureTypeEnum?type, string dateFrom, string dateTo, string creatorId, string status)
        {
            SearchInput = new FeatureSearchViewModel
            {
                PageNo = pageNo.FixPageNumber(),
                Name   = featureName,
                IncludeDeletedItems = deleted,
                Type             = type,
                CreatorId        = creatorId,
                CreationDateFrom = dateFrom,
                CreationDateTo   = dateTo
            };

            Status = !string.IsNullOrEmpty(status)
                ? status
                : null;
            List = await _featureService.FeatureListAsync(SearchInput, false);
        }