C# Class Decision.ServiceLayer.EFServiecs.ApplicantInfo.AddressService

Inheritance: IAddressService
Show file Open project: rabbal/Decision

Public Methods

Method Description
AddressService ( IUnitOfWork unitOfWork, IApplicationUserManager userManager, IMappingEngine mappingEngine, IStateService stateService, ICityService cityService ) : System
Create ( AddAddressViewModel viewModel ) : Task
DeleteAsync ( System.Guid id ) : System.Threading.Tasks.Task
EditAsync ( EditAddressViewModel viewModel ) : System.Threading.Tasks.Task
FillAddViewModel ( AddAddressViewModel viewModel, string path ) : void
FillEditViewModel ( EditAddressViewModel viewModel, string path ) : void
GetAddressViewModel ( System.Guid guid ) : Task
GetAddressesAsync ( AddressSearchRequest request ) : Task
GetForCreate ( System.Guid applicantId, string path ) : AddAddressViewModel
GetForEditAsync ( System.Guid id, string path ) : Task
IsInDb ( System.Guid id ) : Task

Method Details

AddressService() public method

public AddressService ( IUnitOfWork unitOfWork, IApplicationUserManager userManager, IMappingEngine mappingEngine, IStateService stateService, ICityService cityService ) : System
unitOfWork IUnitOfWork
userManager IApplicationUserManager
mappingEngine IMappingEngine
stateService IStateService
cityService ICityService
return System

Create() public method

public Create ( AddAddressViewModel viewModel ) : Task
viewModel Decision.ViewModel.Address.AddAddressViewModel
return Task

DeleteAsync() public method

public DeleteAsync ( System.Guid id ) : System.Threading.Tasks.Task
id System.Guid
return System.Threading.Tasks.Task

EditAsync() public method

public EditAsync ( EditAddressViewModel viewModel ) : System.Threading.Tasks.Task
viewModel Decision.ViewModel.Address.EditAddressViewModel
return System.Threading.Tasks.Task

FillAddViewModel() public method

public FillAddViewModel ( AddAddressViewModel viewModel, string path ) : void
viewModel Decision.ViewModel.Address.AddAddressViewModel
path string
return void

FillEditViewModel() public method

public FillEditViewModel ( EditAddressViewModel viewModel, string path ) : void
viewModel Decision.ViewModel.Address.EditAddressViewModel
path string
return void

GetAddressViewModel() public method

public GetAddressViewModel ( System.Guid guid ) : Task
guid System.Guid
return Task

GetAddressesAsync() public method

public GetAddressesAsync ( AddressSearchRequest request ) : Task
request Decision.ViewModel.Address.AddressSearchRequest
return Task

GetForCreate() public method

public GetForCreate ( System.Guid applicantId, string path ) : AddAddressViewModel
applicantId System.Guid
path string
return Decision.ViewModel.Address.AddAddressViewModel

GetForEditAsync() public method

public GetForEditAsync ( System.Guid id, string path ) : Task
id System.Guid
path string
return Task

IsInDb() public method

public IsInDb ( System.Guid id ) : Task
id System.Guid
return Task