예제 #1
0
        //Método Eliminar que llama al método Eliminar de la clase DCategoría
        //de la CapaDatos
        public static string Delete(int idcategory)
        {
            DCategory Obj = new DCategory();

            Obj.Idcategory = idcategory;
            return(Obj.Delete(Obj));
        }
예제 #2
0
 /// <summary>
 /// 删除
 /// </summary>
 /// <param name="id"></param>
 /// <returns></returns>
 public string Delete(int id)
 {
     return(dCategory.Delete(id));
 }