public BaseController(HaloRunsDbContext param) { this.db = param; this.user = db .Users //.Include(u => u.Game) .Where(t => t.Id == 1) .First(); }
public RunsController(HaloRunsDbContext param) : base(param) { //user.name, Map.name, Time lambdas = new List <Func <Run, object> > { run => run.User.Username, run => run.Map.name, run => run.Time, }; }
public QuestionController(HaloRunsDbContext param) : base(param) { }
//[Route("{userVarParam}/main")] //[Route("{" + StringConstants.DefaultModelBindKeyword + "}/main")] public ProfileController(HaloRunsDbContext param) : base(param) { }
//private readonly ILogger<HomeController> _logger; public HomeController(HaloRunsDbContext param) : base(param) { }