public override void Execute()
 {
     try
     {
         IBasePlanManager basePlanManager = ManagerFactory.GetBasePlanManager();
         _activePlans = basePlanManager.GetActivePlans();
         AddMessage("Get active plans successed", MessageType.Information);
     }
     catch (Exception ex)
     {
         AddMessage(ex.Message, MessageType.Error);
     }
 }
Example #2
0
        public static IBasePlanManager GetBasePlanManager()
        {
            IBasePlanManager result = null;

            switch (DalEngine)
            {
            case SQL:
                result = BasePlanManager.Instance;
                break;

            default:
                break;
            }
            return(result);
        }
Example #3
0
        public override void Execute()
        {
            IBasePlanManager basePlanManager = ManagerFactory.GetBasePlanManager();

            _allPlans = basePlanManager.GetAllPlans();
        }