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.
14 lines
493 B
14 lines
493 B
using Dto;
|
|
using Model.OrderCriteria;
|
|
|
|
namespace Shared;
|
|
|
|
public interface IUserDataService : IUserService<UserDTO>
|
|
{
|
|
public IEnumerable<UserDTO> GetUsers(int page, int number, UserOrderCriteria orderCriteria);
|
|
public UserDTO GetUserById(int id);
|
|
public UserDTO GetUserByUsername(string username);
|
|
public bool DeleteUser(int id);
|
|
public UserDTO UpdateUser(int id, UserDTO user);
|
|
public UserDTO CreateUser(string username, string password, string email, bool isAdmin);
|
|
} |