public IQueryable <ServiceRequest> GetServiceRequests() { return((CurrentUser != null) ? _serviceRequests.GetMemberRequests(CurrentUser.Id, (int)RequestStatus.Canceled).AsQueryable():null); }
public IQueryable <ServiceRequest> GetServiceRequests() { var item = _serviceRequests.GetMemberRequests(CurrentUser.Id).AsQueryable(); return(item); }
public IQueryable <ServiceRequest> GetServiceRequests() { return((CurrentUser != null) ?_serviceRequests.GetMemberRequests(CurrentUser.Id).AsQueryable():null); }