Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of
 /// type GroupRolesService.
 /// </summary>
 /// <param name="GroupRolesRepository"></param>
 /// <param name="unitOfWork"></param>
 public GroupRolesService(
     IGroupRolesRepository GroupRolesRepository,
     ILanguageService languageService,
     IUnitOfWork unitOfWork)
 {
     this._GroupRolesRepository = GroupRolesRepository;
     this._languageService      = languageService;
     this._unitOfWork           = unitOfWork;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of
 /// type GroupsService.
 /// </summary>
 /// <param name="GroupsRepository"></param>
 /// <param name="unitOfWork"></param>
 public GroupsService(
     IGroupsRepository GroupsRepository,
     IGroupPermissionsRepository groupPermissionsRepository,
     IGroupRolesRepository groupRolesRepository,
     IUserGroupsRepository userGroupsRepository,
     ILanguageService languageService,
     IUnitOfWork unitOfWork)
 {
     this._GroupsRepository           = GroupsRepository;
     this._groupPermissionsRepository = groupPermissionsRepository;
     this._groupRolesRepository       = groupRolesRepository;
     this._userGroupsRepository       = userGroupsRepository;
     this._languageService            = languageService;
     this._unitOfWork = unitOfWork;
 }