public static string Decrypt(this string text) { return(Encription.Decrypt(text)); }
public static string GetConnectionString(this AppClaim appClaim) { return($"Server={Constants.SqlServer};Initial Catalog={appClaim.DBName};Persist Security Info=False;User ID={Encription.Decrypt(appClaim.DBUserId)};Password={Encription.Decrypt(appClaim.DBUserPassword)};MultipleActiveResultSets=true;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;"); }