Add methods to interface and add model class

This commit is contained in:
Kenton Royal 2018-08-21 22:54:08 +01:00
parent 55910d6586
commit 861e677151
6 changed files with 44 additions and 2 deletions

View file

@ -23,6 +23,7 @@ using Ombi.Core.Settings;
using Ombi.Settings.Settings.Models;
using Ombi.Store.Entities.Requests;
using Ombi.Store.Repository;
using Ombi.Core.Models;
namespace Ombi.Core.Engine
{
@ -612,5 +613,13 @@ namespace Ombi.Core.Engine
return new RequestEngineResult { Result = true };
}
public async Task<RequestQuotaCountModel> GetRemainingRequests()
{
return new RequestQuotaCountModel()
{
HasLimit = false,
};
}
}
}