public async Task CreateAsync(User entity) { try { await m_dataContext.CreateAsync(entity); } catch (Exception e) { m_logger.LogError(e, $"Could not create a User : {JsonConvert.SerializeObject(entity, Formatting.Indented)}"); } }