public CommonData.ReturnCode DeleteData(int id) { CommonData.ReturnCode returnCode = CommonData.ReturnCode.Success; returnCode = ItemDAO.DeleteData(id); return(returnCode); }
public int DeleteData(IModel itemModel) { int returnCode = ItemDAO.DeleteData(itemModel as Item); return(returnCode); }