public static CargoAddService ToEntity(this CargoAddServiceModel model, CargoAddService destination) { return(AutoMapperConfiguration.Mapper.Map(model, destination)); }
public static CargoAddService ToEntity(this CargoAddServiceModel model) { return(AutoMapperConfiguration.Mapper.Map <CargoAddServiceModel, CargoAddService>(model)); }