public MembersController(IServiceLocator serviceLocator)
 {
     _memberAuthenticationService = serviceLocator.Get<IMemberAuthenticationService>();
 }
 public MyAccountController(IServiceLocator serviceLocator)
 {
     _memberAuthenticationService = serviceLocator.Get<IMemberAuthenticationService>();
     _achievementsService = serviceLocator.Get<IAchievementsService>();
 }
Example #3
0
 public VotingService(IServiceLocator serviceLocator)
 {
     _votesRepository = serviceLocator.Get<IVotesRepository>();
     _contentTypeRepository = serviceLocator.Get<IContentTypesRepository>();
     _membersAuthService = serviceLocator.Get<IMemberAuthenticationService>();
 }
 public NuggetsController(IServiceLocator serviceLocator)
 {
     _nuggetService = serviceLocator.Get<INuggetsService>();
     _memberAuthenticationService = serviceLocator.Get<IMemberAuthenticationService>();
     _tagsService = serviceLocator.Get<ITagsService>();
 }
 public CommentsController(IServiceLocator serviceLocator)
 {
     _commentService = serviceLocator.Get<ICommentsService>();
     _memberAuthService = serviceLocator.Get<IMemberAuthenticationService>();
 }