コード例 #1
0
ファイル: Repository.cs プロジェクト: MirkoPralica/WebApi
 public void Update <T>(T entity) where T : class
 {
     _logger.LogInformation($"Updating object of type {entity.GetType()}");
     _travelAPIContext.Update(entity);
 }