Пример #1
0
        public string CheckDuplicateName(string Name, string ID)
        {
            var products = ProductLogic.CheckDuplicateProduct(Convert.ToInt32(ID), Name);

            if (products != null && products.Count() > 0)
            {
                return("false");
            }
            else
            {
                return("true");
            }
        }