using System;
using System.Collections.Generic;
using System.Data;
using System.Reflection;
namespace BT.Preservation.Models
{
public static clas ......
public static T AESEncrypt<T>(T obj) where T : class
{
if (obj == null)
{
return obj;
}
var properties = typeof(T).GetProperties();
foreach (System. ......