Exemple #1
0
        public void ChangeProductStatus(string[] args, bool status)
        {
            if (args[0] != null)
            {
                IProductBase product = stregsystem.GetProductById(int.Parse(args[1]));

                product.IsActive = status;
            }
        }