public static async Task <List <V> > SimpleSearchAsync <V, T, E, S>( this IViewSource <V, T, E, S> source, S search, Func <IQueryable <E>, IQueryable <E> > modify = null) where V : IIdView where S : IIdSearcher where E : EntityGroup { return((await source.SimpleSearchRawAsync(search, modify)).Select(x => source.ToView(x)).ToList()); }
public virtual async Task <V> WriteAsync(V view, Requester requester) { return(converter.ToView(await WriteViewBaseAsync(view, requester))); }