public override async Task <IEnumerable <Package> > GetAll(Common.Helper.JsonApiRequest request)
 {
     return(await this.GetAllQueryable(request).Include(x => x.StartFare).Where(x => x.CreatedBy.Equals(RepositoryRequisite.RequestInfo.UserId)).ToListAsync());
 }
예제 #2
0
 public override Task <IList <UserDTO> > GetAllAsync(Common.Helper.JsonApiRequest request)
 {
     throw new NotImplementedException();
 }
예제 #3
0
        public override async Task <IList <RideDTO> > GetAllAsync(Common.Helper.JsonApiRequest request)
        {
            IEnumerable <Ride> entities = await this.Repository.GetCustomerByUserId(this.requestInfo.UserId);

            return(RideDTO.ConvertEntityListToDTOList <RideDTO>(entities));
        }