C# Class BAL.Manager.WorkerStatusManager

Inheritance: BAL.Manager.BaseManager, IWorkerStatusManager
Mostrar archivo Open project: CH033dotNET/Taxi

Public Methods

Method Description
ChangeStatus ( UserDTO Driver, DriverWorkingStatusEnum newStatus, System.DateTime blockTime = null, string message = null ) : WorkerStatusDTO
DeleteStatus ( int driverId ) : bool
GetAllStatuses ( ) : List
GetStatus ( UserDTO Driver ) : WorkerStatusDTO
WorkerStatusManager ( IUnitOfWork uOW ) : System

Method Details

ChangeStatus() public method

public ChangeStatus ( UserDTO Driver, DriverWorkingStatusEnum newStatus, System.DateTime blockTime = null, string message = null ) : WorkerStatusDTO
Driver UserDTO
newStatus DriverWorkingStatusEnum
blockTime System.DateTime
message string
return Model.DTO.WorkerStatusDTO

DeleteStatus() public method

public DeleteStatus ( int driverId ) : bool
driverId int
return bool

GetAllStatuses() public method

public GetAllStatuses ( ) : List
return List

GetStatus() public method

public GetStatus ( UserDTO Driver ) : WorkerStatusDTO
Driver UserDTO
return Model.DTO.WorkerStatusDTO

WorkerStatusManager() public method

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