narsil/Tanshu.Accounts.Contracts/Service Contracts/UserBI.cs

28 lines
706 B
C#
Raw Normal View History

2010-03-02 17:56:21 +00:00
using System;
using System.Collections.Generic;
using System.Text;
using System.ServiceModel;
using System.Data.SqlClient;
namespace Tanshu.Accounts.Contracts
{
[ServiceContract]
public interface IUserBI
{
[OperationContract]
UserBO GetUser(Guid userID);
[OperationContract]
bool ChangePassword(UserBO userData, string newPassword);
[OperationContract]
List<UserBO> GetUsers();
[OperationContract]
bool UserExists(string userName);
[OperationContract]
bool Insert(UserBO user);
[OperationContract]
bool Update(UserBO user);
[OperationContract]
bool Delete(Guid userID);
}
}