/// <summary>
 ///
 /// </summary>
 /// <param name="id"></param>
 public void Remove(int id)
 {
     productDAC.DeleteById(id);
 }
示例#2
0
        /// <summary>
        /// Delete method.
        /// </summary>
        /// <param name="id"></param>
        public void Remove(int id)
        {
            var productDac = new ProductDAC();

            productDac.DeleteById(id);
        }
        public void Delete(int id)
        {
            var productDAC = new ProductDAC();

            productDAC.DeleteById(id);
        }