/// <summary>
 /// Initializes a new instance of the <see cref="StationsLogic"/> class.
 /// </summary>
 /// <param name="stationRepository">
 /// The station repository.
 /// </param>
 /// <param name="competitionRepository">
 /// The competition repository.
 /// </param>
 /// <param name="rightsHelper">
 /// The rights Helper.
 /// </param>
 public StationsLogic(IRepository<Station> stationRepository, IRepository<Competition> competitionRepository, IRightsHelper rightsHelper)
     : this()
 {
     this.stationRepository = stationRepository;
     this.competitionRepository = competitionRepository;
     this.RightsHelper = rightsHelper;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CompetitionsLogic"/> class.
 /// </summary>
 /// <param name="competitionRepository">
 /// The competition repository.
 /// </param>
 /// <param name="userRolesInfoRepository">
 /// The <see cref="UserRolesInfo"/> repository.
 /// </param>
 /// <param name="rightsHelper">
 /// The rights helper implementation.
 /// </param>
 public CompetitionsLogic(IRepository<Competition> competitionRepository, IRepository<UserRolesInfo> userRolesInfoRepository, IRightsHelper rightsHelper)
     : this()
 {
     this.competitionRepository = competitionRepository;
     this.userRolesInfoRepository = userRolesInfoRepository;
     this.RightsHelper = rightsHelper;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CurrentUserService"/> class.
 /// </summary>
 public CurrentUserService()
 {
     this.databaseSession = NHibernateHelper.OpenSession();
     this.rightsHelper = new RightsHelper(new Repository<UserRolesInfo>(this.databaseSession), new Repository<RoleRightsInfo>(this.databaseSession));
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="UserCompetitionRights"/> class.
 /// </summary>
 /// <param name="competitionId">
 /// The competition id.
 /// </param>
 /// <param name="rightsHelper">
 /// The <see cref="IRightsHelper"/>.
 /// </param>
 internal UserCompetitionRights(Guid competitionId, IRightsHelper rightsHelper)
 {
     this.rightsHelper = rightsHelper;
     this.CompetitionId = competitionId;
     this.Permissions = new List<WinShooterCompetitionPermissions>();
 }