Beispiel #1
0
 public async Task <IActionResult> Index(EvalueringModel evalueringModel)
 {
     if (ModelState.IsValid)
     {
         return(Content($"Product {evalueringModel.ProductName} has been evaluated sucessfully"));
     }
     else
     {
         return(View(evalueringModel));
     }
 }
Beispiel #2
0
 public Task <bool> RegisterUser(EvalueringModel evalueringModel)
 {
     return(Task.FromResult(true));
 }