pitit refact
This commit is contained in:
parent
e24208e77b
commit
20713eef64
235 changed files with 5374 additions and 373 deletions
|
|
@ -30,8 +30,8 @@ namespace Yavsc.Controllers
|
|||
public async Task<IActionResult> Index(int skip = 0, int take = 25)
|
||||
{
|
||||
if (take > 50) return BadRequest();
|
||||
ViewData["skip"]=skip;
|
||||
ViewData["take"]=take;
|
||||
ViewBag.skip=skip;
|
||||
ViewBag.take=take;
|
||||
return View(await _context.Bug.Skip(skip).Take(take).ToListAsync());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue