oqtane.framework/Oqtane.Server/Repository/Interfaces/IUserRepository.cs
2020-04-04 14:06:24 -04:00

16 lines
357 B
C#

using System.Collections.Generic;
using Oqtane.Models;
namespace Oqtane.Repository
{
public interface IUserRepository
{
IEnumerable<User> GetUsers();
User AddUser(User user);
User UpdateUser(User user);
User GetUser(int userId);
User GetUser(string username);
void DeleteUser(int userId);
}
}