mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-16 02:02:55 -07:00
The move!
This commit is contained in:
parent
1daf480b1b
commit
25526cc4d9
1147 changed files with 85 additions and 8524 deletions
|
@ -1,28 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Ombi.Store.Repository
|
||||
{
|
||||
public interface IExternalUserRepository<T> where T : Entity
|
||||
{
|
||||
T Get(string id);
|
||||
T Get(int id);
|
||||
Task<T> GetAsync(string id);
|
||||
Task<T> GetAsync(int id);
|
||||
T GetUser(string userGuid);
|
||||
Task<T> GetUserAsync(string userguid);
|
||||
T GetUserByUsername(string username);
|
||||
|
||||
IEnumerable<T> Custom(Func<IDbConnection, IEnumerable<T>> func);
|
||||
long Insert(T entity);
|
||||
void Delete(T entity);
|
||||
IEnumerable<T> GetAll();
|
||||
bool UpdateAll(IEnumerable<T> entity);
|
||||
bool Update(T entity);
|
||||
Task<IEnumerable<T>> GetAllAsync();
|
||||
Task<bool> UpdateAsync(T users);
|
||||
Task<int> InsertAsync(T users);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue