22 lines
539 B
C#
22 lines
539 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using Tanshu.Accounts.Contracts;
|
|||
|
|
|||
|
namespace Tanshu.Accounts.DAOFactory
|
|||
|
{
|
|||
|
public interface IUserDAO : IDisposable
|
|||
|
{
|
|||
|
UserBO GetUser(Guid userID);
|
|||
|
List<UserBO> GetUsers();
|
|||
|
List<UserBO> GetFilteredUsers(Dictionary<string, string> filter);
|
|||
|
bool UserExists(string userName);
|
|||
|
bool Insert(UserBO user);
|
|||
|
|
|||
|
bool ChangePassword(UserBO userData, string newPassword);
|
|||
|
|
|||
|
bool Update(UserBO user);
|
|||
|
|
|||
|
bool Delete(Guid userID);
|
|||
|
}
|
|||
|
}
|