Пример #1
0
 public static async Task Initialize(IServiceProvider serviceProvider, string testUserPw)
 {
     using (var context = new RandyPowellContext(
                serviceProvider.GetRequiredService <DbContextOptions <RandyPowellContext> >()))
     {
         var adminID = await EnsureUser(serviceProvider, "dummyPW", "*****@*****.**");
     }
 }
Пример #2
0
 public IndexModel(RandyPowell.Models.RandyPowellContext context)
 {
     _context = context;
 }
Пример #3
0
 public DetailsModel(RandyPowell.Models.RandyPowellContext context)
 {
     _context = context;
     excon    = new ExperienceController(_context);
 }
Пример #4
0
 public CreateModel(RandyPowell.Models.RandyPowellContext context)
 {
     _context = context;
 }
Пример #5
0
 public SkillsModel(RandyPowell.Models.RandyPowellContext context)
 {
     _context = context;
 }
Пример #6
0
 public WorkModel(RandyPowell.Models.RandyPowellContext context)
 {
     _context = context;
 }