public Collection <UserEntity> getAllUser() { Collection <UserModel> users = new Collection <UserModel>(); foreach (UserModel a in _context.UserModel.ToList()) { users.Add(a); } if (users.Count() < 1) { return(null); } return(_bridge.mapToUserEntityCollectionFrom(users)); }