Exemplo n.º 1
0
 public async Task UpdateAsync(User entity)
 {
     try
     {
         await m_dataContext.UpdateAsync(entity);
     }
     catch (Exception e)
     {
         m_logger.LogError(e, $"Could not update a User : {JsonConvert.SerializeObject(entity, Formatting.Indented)} ");
     }
 }