mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-31 20:24:27 -04:00
Oups
This commit is contained in:
parent
68ea76ed1c
commit
c5a8a1111e
@ -12,7 +12,7 @@ using Microsoft.Extensions.Configuration;
|
|||||||
namespace Kyoo.CommonApi
|
namespace Kyoo.CommonApi
|
||||||
{
|
{
|
||||||
[ApiController]
|
[ApiController]
|
||||||
public class CrudApi<T> : ControllerBase where T : IResource
|
public class CrudApi<T> : ControllerBase where T : class, IResource
|
||||||
{
|
{
|
||||||
private readonly IRepository<T> _repository;
|
private readonly IRepository<T> _repository;
|
||||||
private readonly string _baseURL;
|
private readonly string _baseURL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user