C# Class Cares.WebApp.WebApi.WebApiService

Web Api Service
Inheritance: ApiService, IWebApiService
Exibir arquivo Open project: innoist/GF-FRS

Private Properties

Property Type Description
BookingMainAsync Task
CreateResultForAdditionalDriverListRequest IEnumerable
CreateResultForChauffersListRequest IEnumerable
CreateResultForHireGroupsListRequest IList
CreateResultForInsurancesListRequest IEnumerable
CreateResultForOperationWorkplaceListRequest IList
GetAdditioanalDriverRatesAsync Task
GetChauffersRatesAsync Task
GetHireGroupAsync Task
GetInsurancesRatesAsync Task
GetOperationWorkplaceListAsync Task

Public Methods

Method Description
GetAdditionalDriverRates ( WebApiRequest webApiRequest ) : GetAdditionalDriverRatesResults

Get Additional Driver Rates

GetAvailableChauffersRates ( WebApiRequest webApiRequest ) : GetAvailableChauffersRatesResults

Get Available Chauffers with chrage rates

GetAvailableInsurancesRates ( WebApiRequest webApiRequest ) : GetAvailableInsurancesRatesResults

Get Available Insurances Rates

GetHireGroupList ( GetHireGroupRequest request ) : GetHireGroupResult

Get Hire Group List

GetOperationWorkplaceList ( long domainKey ) : GetOperationWorkplaceResult

Get Operation Workplace List

SaveBookingMain ( WebApiBookingMainRequest bookingMain ) : bool

To add the booking on server

Private Methods

Method Description
BookingMainAsync ( WebApiBookingMainRequest webApiRequest ) : Task
CreateResultForAdditionalDriverListRequest ( string stringContents ) : IEnumerable
CreateResultForChauffersListRequest ( string stringContents ) : IEnumerable
CreateResultForHireGroupsListRequest ( string stringContents ) : IList

Create Results for Hire Group

CreateResultForInsurancesListRequest ( string stringContents ) : IEnumerable
CreateResultForOperationWorkplaceListRequest ( string stringContents ) : IList

Create Results for Operation Workplace

GetAdditioanalDriverRatesAsync ( WebApiRequest request ) : Task
GetChauffersRatesAsync ( WebApiRequest request ) : Task
GetHireGroupAsync ( GetHireGroupRequest request ) : Task

Get Available HireGroup

GetInsurancesRatesAsync ( WebApiRequest request ) : Task
GetOperationWorkplaceListAsync ( long domainKey ) : Task

Get Operation Workplace List

Method Details

GetAdditionalDriverRates() public method

Get Additional Driver Rates
public GetAdditionalDriverRates ( WebApiRequest webApiRequest ) : GetAdditionalDriverRatesResults
webApiRequest Cares.WebApp.Models.WebApiRequest
return Cares.WebApp.Models.GetAdditionalDriverRatesResults

GetAvailableChauffersRates() public method

Get Available Chauffers with chrage rates
public GetAvailableChauffersRates ( WebApiRequest webApiRequest ) : GetAvailableChauffersRatesResults
webApiRequest Cares.WebApp.Models.WebApiRequest
return Cares.WebApp.Models.GetAvailableChauffersRatesResults

GetAvailableInsurancesRates() public method

Get Available Insurances Rates
public GetAvailableInsurancesRates ( WebApiRequest webApiRequest ) : GetAvailableInsurancesRatesResults
webApiRequest Cares.WebApp.Models.WebApiRequest
return Cares.WebApp.Models.GetAvailableInsurancesRatesResults

GetHireGroupList() public method

Get Hire Group List
public GetHireGroupList ( GetHireGroupRequest request ) : GetHireGroupResult
request Cares.WebApp.Models.GetHireGroupRequest
return Cares.WebApp.Models.GetHireGroupResult

GetOperationWorkplaceList() public method

Get Operation Workplace List
public GetOperationWorkplaceList ( long domainKey ) : GetOperationWorkplaceResult
domainKey long
return Cares.WebApp.Models.GetOperationWorkplaceResult

SaveBookingMain() public method

To add the booking on server
public SaveBookingMain ( WebApiBookingMainRequest bookingMain ) : bool
bookingMain Cares.WebApp.Models.WebApiBookingMainRequest
return bool