Example #1
0
 public bool AddUser(User user)
 {
     return(_redisHelper.AddModelToSet <User>(_key, user));
     //_userList.Add(user);
     //return true;
 }
Example #2
0
 public bool AddProject(Project project)
 {
     return(_redisHelper.AddModelToSet <Project>(_key, project));
     //_projectList.Add(project);
     //return true;
 }
Example #3
0
 public bool AddCustomer(Customer customer)
 {
     return(_redisHelper.AddModelToSet <Customer>(_key, customer));
 }
Example #4
0
 public bool AddRole(Role role)
 {
     return(_redisHelper.AddModelToSet <Role>(_key, role));
     //_roleList.Add(role);
     //return true;
 }
Example #5
0
 public bool AddContact(Contact contact)
 {
     return(_redisHelper.AddModelToSet <Contact>(_key, contact));
     //_customerList.Add(customer);
     //return true;
 }