public Task UpdateAsync(ISample model) { return(_tableStorage.MergeAsync(SampleEntity.Partition, model.Id, entity => SampleEntity.Map(model, entity))); }
public Task InsertAsync(ISample model) { var entity = SampleEntity.Map(model); return(_tableStorage.InsertAsync(entity)); }