hair cut command
This commit is contained in:
parent
b0f81edeac
commit
22701c784e
18 changed files with 2135 additions and 123 deletions
|
|
@ -50,7 +50,7 @@ namespace Yavsc.Controllers
|
|||
}
|
||||
private void SetViewBag(CommandForm commandForm=null) {
|
||||
ViewBag.ActivityCode = new SelectList(_context.Activities, "Code", "Name", commandForm?.ActivityCode);
|
||||
ViewBag.Action = Startup.Forms.Select( c => new SelectListItem { Text = c, Selected = commandForm?.Action == c } );
|
||||
ViewBag.ActionName = Startup.Forms.Select( c => new SelectListItem { Value = c, Text = c, Selected = (commandForm?.ActionName == c) } );
|
||||
}
|
||||
// POST: CommandForms/Create
|
||||
[HttpPost]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue