public int Delete(EquipmentLedger model)
 {
     return(CommonAccess.ComSQLiteDelete(model, "ID"));
 }
 public int Insert(EquipmentLedger model)
 {
     return(CommonAccess.ComSQLiteInsert(model));
 }
 public int Update(EquipmentLedger model, string _identity)
 {
     return(CommonAccess.ComSQLiteUpdate(model, _identity));
 }
 public int delete(EquipmentLedger _model)
 {
     return(dal.Delete(_model));
 }
 public int InsertOrUpdateBy(EquipmentLedger _model, string _identity)
 {
     return(_model.ID == 0 ? dal.Insert(_model) : dal.Update(_model, _identity));
 }
 public int UpdateBy(EquipmentLedger _model, string _identity)
 {
     return(dal.Update(_model, _identity));
 }
 public int Update(EquipmentLedger _model)
 {
     return(dal.Update(_model, "ID"));
 }
 public int Insert(EquipmentLedger _model)
 {
     return(dal.Insert(_model));
 }