示例#1
0
 public Task Update(ISiteDocument siteDocument) => _repository.UpdateAsync(siteDocument as SiteDocument, siteDocument.Id);
示例#2
0
 public Task AddAsync(ISiteDocument siteDocument) =>
 _repository.AddAsync(siteDocument as SiteDocument);