public MathPixController(IConfiguration configuration, IDBTool db, latexliveContext context, IResult re, IEnumerable <ILogin> logins, IMyToken mytoken, IPermission permission, IMathPix mathpix)
 {
     _configuration = configuration;
     _re            = re;
     _logins        = logins.ToList();
     _mytoken       = mytoken;
     _permission    = permission;
     _mathpix       = mathpix;
 }
Exemple #2
0
 public ClientController(IConfiguration configuration, IHttpContextAccessor contextAccessor, latexliveContext context, IDBTool db, IResult re, IEnumerable <ILogin> logins, IClient client, IMyToken mytoken, IMessageCode messagecode, IPermission permission, IMathPix mathpix, IIPAddressRecord ipAddressRecord)
 {
     _configuration   = configuration;
     _contextAccessor = contextAccessor;
     _db              = db;
     _re              = re;
     _logins          = logins.ToList();
     _client          = client;
     _mytoken         = mytoken;
     _messagecode     = messagecode;
     _permission      = permission;
     _mathpix         = mathpix;
     _ipAddressRecord = ipAddressRecord;
 }