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