public async Task <RequestsViewModel <MovieRequests> > GetRequests(int count, int position, int orderType, int statusType, int availabilityType) { return(await MovieRequestEngine.GetRequests(count, position, new OrderFilterModel { OrderType = (OrderType)orderType, AvailabilityFilter = (FilterType)availabilityType, StatusFilter = (FilterType)statusType, })); }
public async Task <IEnumerable <MovieRequests> > GetRequests() { return(await MovieRequestEngine.GetRequests()); }
public async Task <IEnumerable <MovieRequests> > GetRequests(int count, int position) { return(await MovieRequestEngine.GetRequests(count, position)); }