/// <summary>
 /// Initializes a new instance of the <see cref="FunctionService"/> class.
 /// </summary>
 /// <param name="functionRepository">
 /// The function repository.
 /// </param>
 /// <param name="userRepository">
 /// The user repository.
 /// </param>
 /// <param name="functionInRoleRepository">
 /// The function in role repository.
 /// </param>
 /// <param name="userInRoleRepository">
 /// The user in role repository.
 /// </param>
 public FunctionService(IFunctionRepository functionRepository, IUserRepository userRepository, IFunctionInRoleRepository functionInRoleRepository, IUserInRoleRepository userInRoleRepository)
 {
     this.functionRepository = functionRepository;
     this.userRepository = userRepository;
     this.functionInRoleRepository = functionInRoleRepository;
     this.userInRoleRepository = userInRoleRepository;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="SecurityDomainService"/> class.
 /// </summary>
 /// <param name="functionInRoleRepository">
 /// The function in role repository.
 /// </param>
 /// <param name="roleRepository">
 /// The role repository.
 /// </param>
 /// <param name="functionRepository">
 /// The function repository.
 /// </param>
 public SecurityDomainService(IFunctionInRoleRepository functionInRoleRepository, IRoleRepository roleRepository, IFunctionRepository functionRepository)
 {
     this.functionInRoleRepository = functionInRoleRepository;
     this.roleRepository = roleRepository;
     this.functionRepository = functionRepository;
 }
 public PermissionService(IFunctionInRoleRepository functionInRoleRepository, IUserInRoleRepository userInRoleRepository, ISecurityDomainService securityDomainService)
 {
     this.functionInRoleRepository = functionInRoleRepository;
     this.userInRoleRepository = userInRoleRepository;
     this.SecurityDomainService = securityDomainService;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="PermissionService"/> class.
 /// </summary>
 /// <param name="functionRepository">
 /// The function repository.
 /// </param>
 /// <param name="securityDomainService">
 /// The security domain service.
 /// </param>
 /// <param name="functionInRoleRepository">
 /// The function in role repository.
 /// </param>
 public PermissionService(IFunctionRepository functionRepository, ISecurityDomainService securityDomainService, IFunctionInRoleRepository functionInRoleRepository)
 {
     this.functionRepository = functionRepository;
     this.securityDomainService = securityDomainService;
     this.functionInRoleRepository = functionInRoleRepository;
 }