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.
16 lines
399 B
16 lines
399 B
using AdminPanel.Models;
|
|
|
|
namespace AdminPanel.Services
|
|
{
|
|
public interface IUsersService
|
|
{
|
|
public Task<(uint, List<User>)> ListUsers(uint from, uint len);
|
|
|
|
public Task<User> AddUser(string username, string email, string password, bool isAdmin);
|
|
|
|
public Task RemoveUsers(IEnumerable<uint> userId);
|
|
|
|
public Task UpdateUser(User user);
|
|
}
|
|
}
|