28 lines
706 B
C#
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);
|
|
}
|
|
}
|