Esempio n. 1
0
 public NotesController(INoteService service, ITokenManager tokenManager, IMSMQ msmq, IDistributedCache distrubutedCache)
 {
     _service          = service;
     _tokenManager     = tokenManager;
     _msmq             = msmq;
     _distrubutedCache = distrubutedCache;
 }
 public UserRepository(IConfiguration configuration, IMSMQ msmq)
 {
     this.configuration = configuration;
     this.msmq          = msmq;
     connectionString   = configuration.GetSection("ConnectionStrings").GetSection("ChatApplicationDBConnection").Value;
     con = new SqlConnection(connectionString);
 }
Esempio n. 3
0
 public CollaboratorController(ICollaboratorService collaboratorService, IMSMQ msmq)
 {
     _collaboratorService = collaboratorService;
     _msmq = msmq;
 }
 public LableController(ILableService lableService, IMSMQ msmq)
 {
     _lableService = lableService;
     _msmq         = msmq;
 }
 public AccountController(IRegistrationService registrationService, IMSMQ msmq)
 {
     _registrationService = registrationService;
     _mamq = msmq;
 }