public IQueryable <ConversationMessage> GetConversationMessages() { if (ServiceAuthentication.IsValid()) { return(this.ObjectContext.ConversationMessages); } else { //// throw fault throw new FaultException <InvalidOperationException>(new InvalidOperationException("Invalid credentials"), "Invalid credentials"); } }
public IQueryable <PreferenceSetOrganization> GetPreferenceSetOrganizations() { if (ServiceAuthentication.IsValid()) { return(this.ObjectContext.PreferenceSetOrganizations); } else { //// throw fault throw new FaultException <InvalidOperationException>(new InvalidOperationException("Invalid credentials"), "Invalid credentials"); } }
public IQueryable <LaterRatedIssue> GetLaterRatedIssues() { if (ServiceAuthentication.IsValid()) { return(this.ObjectContext.LaterRatedIssues); } else { //// throw fault throw new FaultException <InvalidOperationException>(new InvalidOperationException("Invalid credentials"), "Invalid credentials"); } }