public RoleManagerUnAssignModel( IQueryService<Role> queryRole, IQueryService<Permission> queryFunction, ISaveOrUpdateCommand<Role> updateRole) { this.queryFunction = queryFunction; this.queryRole = queryRole; this.updateRole = updateRole; }
public UserManagerAssignModel( IQueryService<Role> queryRole, IQueryService<User> queryEmployee, ISaveOrUpdateCommand<User> updateRole) { this.queryEmployee = queryEmployee; this.queryRole = queryRole; this.updateEmployee = updateRole; }
public void BeforeAll() { saveOrUpdateStub = MockRepository.GenerateStub<ISaveOrUpdateCommand<User>>(); queryServiceStub = MockRepository.GenerateStub<IQueryService<User>>(); }