コード例 #1
0
        //-----------METODOS SE ACME DE LA CATEGORIA---------------------

        public static bool InsertCategory(string name)
        {
            try
            {
                CategoryModel categoryModel = new CategoryModel()
                {
                    Name = name
                };
                return(CategoryConnection.InsertCategory(categoryModel));
            }
            catch (Exception ex)
            {
                throw;
            }
        }