示例#1
0
        public static string Edit(int idCat, string nameCat, string descriptionCat)
        {
            CategoryData DCat = new CategoryData();

            DCat.IdCategory  = idCat;
            DCat.Name        = nameCat;
            DCat.Description = descriptionCat;
            return(DCat.Edit(DCat));
        }