You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ombi/src/Ombi.Store/Repository/Requests/IMusicRequestRepository.cs

17 lines
577 B

using System.Linq;
using System.Threading.Tasks;
using Ombi.Store.Entities.Requests;
namespace Ombi.Store.Repository.Requests
{
public interface IMusicRequestRepository : IRepository<MusicRequests>
{
IQueryable<MusicRequests> GetAll(string userId);
MusicRequests GetRequest(string foreignAlbumId);
Task<MusicRequests> GetRequestAsync(string foreignAlbumId);
IQueryable<MusicRequests> GetWithUser();
IQueryable<MusicRequests> GetWithUser(string userId);
Task Save();
Task Update(MusicRequests request);
}
}