Thankx Jaber! I already saw that post and have tried to implement it. But I get the following errors:
AspNetCore.Areas_Admin_Views_Product__CreateOrUpdate.ExecuteAsync.AnonymousMethod__9() in _CreateOrUpdate.cshtml
System.AggregateException: 'One or more errors occurred. (One or more compilation failures occurred:
2upql0h1.3ju(17,175): error CS0246: The type or namespace name 'ProductModel' could not be found (are you missing a using directive or an assembly reference?)
...\Areas\Admin\Views\Product\_CreateOrUpdate.SpecificationAttributes.cshtml(5,10): error CS0103: The name 'T' does not exist in the current context
...\Areas\Admin\Views\Product\_CreateOrUpdate.SpecificationAttributes.cshtml(14,59): error CS0246: The type or namespace name 'DataTablesModel' could not be found (are you missing a using directive or an assembly reference?)
...\Areas\Admin\Views\Product\_CreateOrUpdate.SpecificationAttributes.cshtml(17,34): error CS0246: The type or namespace name 'DataUrl' could not be found (are you missing a using directive or an assembly reference?)