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