Beispiel #1
0
 public TokensController(RESTContext dbContext)
 {
     _RESTContext = dbContext;
 }
 public HomeController(RESTContext context)
 {
     _context = context;
 }
 public CredsController(RESTContext dbContext)
 {
     _RESTContext = dbContext;
 }
        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)
 {
 }
Beispiel #6
0
 public DataRepository(RESTContext context)
 {
     _Context = context;
 }
Beispiel #7
0
 public AuthService(IOptions <AppSettings> appSettings, RESTContext context)
 {
     _context     = context;
     _appSettings = appSettings.Value;
 }