2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2025-06-26 21:13:13 +00:00

inheritance

This commit is contained in:
2022-06-20 20:51:04 +03:00
parent 26709a959c
commit 0dc457bf7e
5 changed files with 31 additions and 23 deletions

View File

@ -47,6 +47,7 @@ public static class EsiurExtensions
//}
public static T AddResource<T>(this DbSet<T> dbSet, T resource) where T : class, IResource
=> AddResourceAsync(dbSet, resource).Wait();