Finishing to rework repositories

This commit is contained in:
Zoe Roux
2020-08-16 01:11:29 +02:00
parent 76e28d6ac2
commit a258e89080
11 changed files with 26 additions and 31 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ namespace Kyoo.Controllers
return await query.ToListAsync();
}
public abstract Task<T> Create(T obj);
public abstract Task<T> Create([NotNull] T obj);
public virtual async Task<T> CreateIfNotExists(T obj)
{