renaming Reviewed
This commit is contained in:
parent
40897f4f83
commit
f5a9a3ddef
9 changed files with 28 additions and 23 deletions
|
|
@ -65,14 +65,14 @@ namespace Yavsc.Controllers
|
|||
}
|
||||
|
||||
[AllowAnonymous]
|
||||
public async Task <ActionResult> HairCut(string id)
|
||||
public async Task <ActionResult> ListPerformersAsync(string activityCode)
|
||||
{
|
||||
if (id == null)
|
||||
if (activityCode == null)
|
||||
{
|
||||
throw new NotImplementedException("No Activity code");
|
||||
}
|
||||
ViewBag.Activity = await _context.Activities.FirstOrDefaultAsync(a => a.Code == id);
|
||||
var result = await _context.ListPerformersAsync(_billing, id);
|
||||
ViewBag.Activity = await _context.Activities.FirstOrDefaultAsync(a => a.Code == activityCode);
|
||||
var result = await _context.ListPerformersAsync(_billing, activityCode);
|
||||
return View(result);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue