Esempio n. 1
0
 public TokensController(RESTContext dbContext)
 {
     _RESTContext = dbContext;
 }
 public HomeController(RESTContext context)
 {
     _context = context;
 }
 public CredsController(RESTContext dbContext)
 {
     _RESTContext = dbContext;
 }
Esempio n. 4
0
        public async Task <ActionResult> GetProjects()
        {
            RESTContext context = HttpContext.RequestServices.GetService(typeof(RESTContext)) as RESTContext;

            return(PartialView("_PartialProject", await context.GetAllProjects()));
        }
 public AccountRepository(RESTContext context) : base(context)
 {
 }
Esempio n. 6
0
 public DataRepository(RESTContext context)
 {
     _Context = context;
 }
Esempio n. 7
0
 public AuthService(IOptions <AppSettings> appSettings, RESTContext context)
 {
     _context     = context;
     _appSettings = appSettings.Value;
 }