C# Class BAL.Manager.LocationManager

Inheritance: BAL.Manager.BaseManager, ILocationManager
显示文件 Open project: CH033dotNET/Taxi Class Usage Examples

Public Methods

Method Description
AddLocation ( Model.DTO.LocationDTO local ) : Model.DTO.LocationDTO
DeleteLocation ( int UserId ) : void
GetByUserId ( int id ) : Model.DTO.LocationDTO
GetDriverDistrictInfo ( int userId ) : List
LocationManager ( IUnitOfWork uOW ) : System
UpdateLocation ( Model.DTO.LocationDTO local ) : Model.DTO.LocationDTO

Method Details

AddLocation() public method

public AddLocation ( Model.DTO.LocationDTO local ) : Model.DTO.LocationDTO
local Model.DTO.LocationDTO
return Model.DTO.LocationDTO

DeleteLocation() public method

public DeleteLocation ( int UserId ) : void
UserId int
return void

GetByUserId() public method

public GetByUserId ( int id ) : Model.DTO.LocationDTO
id int
return Model.DTO.LocationDTO

GetDriverDistrictInfo() public method

public GetDriverDistrictInfo ( int userId ) : List
userId int
return List

LocationManager() public method

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

UpdateLocation() public method

public UpdateLocation ( Model.DTO.LocationDTO local ) : Model.DTO.LocationDTO
local Model.DTO.LocationDTO
return Model.DTO.LocationDTO