internal IEnumerable <Vault> GetAll(string userId) { IEnumerable <Vault> vaults = _repo.GetAll(); return(vaults.ToList().FindAll(v => v.CreatorId == userId || v.IsPrivate == false)); }
public IEnumerable <Vault> GetAll() { return(_repo.GetAll()); }
internal IEnumerable <Vault> GetAll() { return(_repo.GetAll()); }
public IEnumerable <Vault> GetAll(string userId) { return(_repo.GetAll(userId)); }