Ejemplo n.º 1
0
 public InterestsController(QuarantineConvoContext context)
 {
     _context = context;
 }
Ejemplo n.º 2
0
 public ConnectionHub(IServiceProvider sp)
 {
     db = sp.GetRequiredService(typeof(QuarantineConvoContext)) as QuarantineConvoContext;
     IdentityContext = sp.GetRequiredService(typeof(QuarantineConvoIdentityContext)) as QuarantineConvoIdentityContext;
 }
Ejemplo n.º 3
0
 public MessagingController(QuarantineConvoContext context, IHubContext <ConnectionHub> hubcontext, QuarantineConvoIdentityContext _identityContext)
 {
     db              = context;
     hubContext      = hubcontext;
     identityContext = _identityContext;
 }