17 lines
No EOL
636 B
C#
17 lines
No EOL
636 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using BirdsiteLive.DAL.Models;
|
|
|
|
namespace BirdsiteLive.DAL.Contracts
|
|
{
|
|
public interface IFollowersDal
|
|
{
|
|
Task<Follower> GetFollowerAsync(string acct, string host);
|
|
Task CreateFollowerAsync(string acct, string host, string inboxUrl, int[] followings = null,
|
|
Dictionary<int, long> followingSyncStatus = null);
|
|
Task<Follower[]> GetFollowersAsync(int followedUserId);
|
|
Task UpdateFollowerAsync(Follower follower);
|
|
Task DeleteFollowerAsync(int id);
|
|
Task DeleteFollowerAsync(string acct, string host);
|
|
}
|
|
} |