public RestrictedGroupConfigurationController(IRestrictedGroupConfigRepository configRepository, IRestrictedGroupRepository groupRepository,
                                               IUserMaintenanceRepository userRepo)
 {
     this.configRepository = configRepository;
     this.groupRepository  = groupRepository;
     this.userRepo         = userRepo;
 }
Beispiel #2
0
 public SiteService(ISiteRepository siteRepo, INetworkDeviceRepository networkDeviceRepo, ISiteNotificationRepository siteNotiRepo,
                    IRestrictedGroupRepository groupRepo, IRestrictedGroupConfigRepository groupConfigRepo)
 {
     this.siteRepo          = siteRepo;
     this.networkDeviceRepo = networkDeviceRepo;
     this.siteNotiRepo      = siteNotiRepo;
     this.groupRepo         = groupRepo;
     this.groupConfigRepo   = groupConfigRepo;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="SitesController"/> class.
 /// </summary>
 /// <param name="repo">The repo.</param>
 /// <param name="mapper">The mapper.</param>
 public RestrictedGroupController(IRestrictedGroupRepository restrictedGroup)
 {
     this.restrictedGroup = restrictedGroup;
 }