public VotingCardController(IShareHolderContext context, VotingCardServices vcSvc) { _context = context; _votingCardSvc = vcSvc; }
public void Init() { _svc = new ShareHolderMeeting.Web.Services.VotingCardServices(); }
// If you are using Dependency Injection, you can delete the following constructor public VotingController(VotingCardServices svc) { _svc = svc; }