/// <summary> /// Initializes a new instance of the <see cref="EnveloppeRepository"/> class. /// </summary> /// <param name="context">The context.</param> /// <param name="suffrageRepo">The suffrage repo.</param> public EnveloppeRepository(VoteInContext context, ISuffrageRepository suffrageRepo) : base(context) { suffrageRepository = suffrageRepo; }
/// <summary> /// Initializes a new instance of the <see cref="SuffrageController"/> class. /// </summary> /// <param name="repo">The repo.</param> public SuffrageController(ISuffrageRepository repo) { repository = repo; }