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()); }
public override Task <IList <UserDTO> > GetAllAsync(Common.Helper.JsonApiRequest request) { throw new NotImplementedException(); }
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)); }