public async Task <Vendor> GetVendorByIdAsync(string vendorId) { return((await _customerApi.CustomerModuleGetVendorByIdAsync(vendorId)).ToWebModel()); }
public async Task <Vendor> GetVendorByIdAsync(string vendorId) { var workContext = _workContextFactory(); return((await _customerApi.CustomerModuleGetVendorByIdAsync(vendorId)).ToWebModel(workContext.CurrentLanguage, workContext.CurrentStore)); }