Ejemplo n.º 1
0
 public ActionResult Index(CoefficientInput input)
 {
     if (!ModelState.IsValid)
     {
         return View(builder.RebuildInput(input));
     }
     fieldsetService.CreateCoefficient(builder.BuildEntity(input));
     return View(builder.BuildInput(new Coefficient { FieldsetId = input.FieldsetId }));
 }
Ejemplo n.º 2
0
 public ActionResult Index(CoefficientInput input)
 {
     if (!ModelState.IsValid)
     {
         return(View(builder.RebuildInput(input)));
     }
     fieldsetService.CreateCoefficient(builder.BuildEntity(input));
     return(View(builder.BuildInput(new Coefficient {
         FieldsetId = input.FieldsetId
     })));
 }