public List <User> GetAll() { return(InMemoryHelpers.Clone(_users)); }
public User Find(string userId) { return(InMemoryHelpers.Clone(_users.SingleOrDefault(u => u.UserId.Equals(userId, StringComparison.OrdinalIgnoreCase)))); }
public List <User> GetAll() { return(InMemoryHelpers.Clone(_users)); }
public User Find(string userId) { return(InMemoryHelpers.Clone(_users.SingleOrDefault(u => u.UserId.Equals(userId, StringComparison.OrdinalIgnoreCase)))); }