public void Delete(CustomerReturnSlipDetail CustomerReturnSlipDetail)
 {
     using (DbManager db = new DbManager())
     {
         Accessor.Query.Delete(db, CustomerReturnSlipDetail);
     }
 }
 public void Save(CustomerReturnSlipDetail CustomerReturnSlipDetail)
 {
     using (DbManager db = new DbManager())
     {
         if (CustomerReturnSlipDetail.RecordNo != 0)
         {
             Accessor.Query.Update(db, CustomerReturnSlipDetail);
         }
         else
         {
             Accessor.Query.Insert(db, CustomerReturnSlipDetail);
         }
     }
 }