Example #1
0
 public async Task <IActionResult> AddMethod([FromBody] MethodModel method)
 {
     logger.LogWarning($"POST: Methods: MethodName: {method.Name}");
     return(Json(await tests.SaveMethod(method)));
 }