예제 #1
0
 public async Task <Vendor> GetVendorByIdAsync(string vendorId)
 {
     return((await _customerApi.CustomerModuleGetVendorByIdAsync(vendorId)).ToWebModel());
 }
예제 #2
0
        public async Task <Vendor> GetVendorByIdAsync(string vendorId)
        {
            var workContext = _workContextFactory();

            return((await _customerApi.CustomerModuleGetVendorByIdAsync(vendorId)).ToWebModel(workContext.CurrentLanguage, workContext.CurrentStore));
        }