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