public MarketAnswer SavePolicy() { AddPolicySlave slave = new AddPolicySlave(_storeManager, MarketYard.Instance.GetStorePolicyManager()); slave.SaveFullPolicy(); return(slave.Answer); }
public MarketAnswer CreatePolicy(string type, string subject, string optSubject, string op, string arg1, string optArg) { AddPolicySlave slave = new AddPolicySlave(_storeManager, MarketYard.Instance.GetStorePolicyManager()); slave.CreatePolicy(type, subject, optSubject, op, arg1, optArg); return(slave.Answer); }