Port UserRepository and remove OW stuff

This commit is contained in:
runebaas 2018-05-10 02:00:26 +02:00
parent d2f31d0730
commit 15034d63a3
No known key found for this signature in database
GPG key ID: 2677AF508D0300D6
20 changed files with 176 additions and 328 deletions

View file

@ -1,13 +1,12 @@
using System.Threading.Tasks;
using Discord.WebSocket;
using Geekbot.net.Database.Models;
namespace Geekbot.net.Lib.UserRepository
{
public interface IUserRepository
{
Task<bool> Update(SocketUser user);
UserRepositoryUser Get(ulong userId);
string GetUserSetting(ulong userId, string setting);
bool SaveUserSetting(ulong userId, string setting, string value);
UserModel Get(ulong userId);
}
}