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

@ -19,6 +19,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
{
@ -483,5 +484,13 @@ namespace Ombi.Core.Engine
return new RequestEngineResult {Result = true, Message = $"{movieName} has been successfully added!"};
}
public async Task<RequestQuotaCountModel> GetRemainingRequests()
{
return new RequestQuotaCountModel()
{
HasLimit = false,
};
}
}
}