Beispiel #1
0
 public ActionResult SignEdit(int?Id)
 {
     Models.SignDTO model = new Models.SignDTO();
     if (Id > 0)
     {
         model = _iSignService.GetSign(Id.Value);
     }
     return(View(model));
 }
 public IActionResult EditSign(int modelid) => View(new AddSignViewModel()
 {
     Sign  = _signService.GetSign(modelid),
     Types = _signService.GetSignTypes()
 });