public static async Task <WebIntResult> ProcessAsync(IOwinContext context, string filter)
        {
            var output = (await GetMusicGenres.ProcessAsync(context, null, null))
                         .Filter(filter);

            return(new WebIntResult {
                Result = output.Count()
            });
        }
        public static async Task <IList <WebGenre> > ProcessAsync(IOwinContext context, int start, int end, string filter, WebSortField?sort, WebSortOrder?order)
        {
            var output = (await GetMusicGenres.ProcessAsync(context, sort, order))
                         .Filter(filter);

            // get range
            output = output.TakeRange(start, end);
            return(output.ToList());
        }