C# Class BAL.Manager.SupportManager

Inheritance: BAL.Manager.BaseManager, ISupportManager
显示文件 Open project: CH033dotNET/Taxi

Public Methods

Method Description
GetChatUsers ( ) : List
GetMessages ( int user1Id, int user2Id ) : IEnumerable
GetSupporter ( int id = -1 ) : SupporterInfoDTO
SendMessage ( string message, int fromUserID, int toUserID ) : void
SupportManager ( IUnitOfWork uOW ) : System

Method Details

GetChatUsers() public method

public GetChatUsers ( ) : List
return List

GetMessages() public method

public GetMessages ( int user1Id, int user2Id ) : IEnumerable
user1Id int
user2Id int
return IEnumerable

GetSupporter() public method

public GetSupporter ( int id = -1 ) : SupporterInfoDTO
id int
return Model.DTO.SupporterInfoDTO

SendMessage() public method

public SendMessage ( string message, int fromUserID, int toUserID ) : void
message string
fromUserID int
toUserID int
return void

SupportManager() public method

public SupportManager ( IUnitOfWork uOW ) : System
uOW IUnitOfWork
return System