narsil/Tanshu.Accounts.Contracts/DAOFactory/UserDAO.cs
2010-03-02 23:26:21 +05:30

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);
}
}