This repository has been archived by the owner on Mar 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
936150e
commit fb52dff
Showing
6 changed files
with
43 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,22 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Threading.Tasks; | ||
using Microsoft.AspNetCore.Mvc; | ||
using Microsoft.AspNetCore.Mvc.RazorPages; | ||
using Microsoft.EntityFrameworkCore; | ||
using pkmnWildLife.Data; | ||
|
||
namespace pkmnWildLife.Pages.LearnSet | ||
namespace pkmnWildLife.Pages.LearnSet; | ||
|
||
public class IndexModel : PageModel | ||
{ | ||
public class IndexModel : PageModel | ||
{ | ||
private readonly pkmnWildLife.Data.ApplicationDbContext _context; | ||
private readonly ApplicationDbContext _context; | ||
|
||
public IndexModel(pkmnWildLife.Data.ApplicationDbContext context) | ||
{ | ||
_context = context; | ||
} | ||
public IndexModel(ApplicationDbContext context) | ||
{ | ||
_context = context; | ||
} | ||
|
||
public IList<Learnset> Learnset { get;set; } = default!; | ||
public IList<Learnset> Learnset { get; set; } = default!; | ||
|
||
public async Task OnGetAsync() | ||
{ | ||
Learnset = await _context.Learnsets.ToListAsync(); | ||
} | ||
public async Task OnGetAsync() | ||
{ | ||
Learnset = await _context.Learnsets.ToListAsync(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1170,7 +1170,6 @@ a { | |
} | ||
|
||
|
||
|
||
.w3-left-align { | ||
text-align: left !important | ||
} | ||
|