示例#1
0
        private async Task <bool> AddNew()
        {
            Dtos.Product product = Mapper.Map <Dtos.Product>(this.WorkModel);
            this.Uri = await _webApiClient.CreateAsync(Constants.ApiProductsPath, product);

            return(this.Uri != null);
        }