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

28 lines
706 B
C#

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