Exemple #1
0
        public bool UpdateEntity(CSM.Model.BaseCarAlarmTypeModel newentity)
        {
            bool result       = false;
            int  ReturnResult = baseCarAlarmTypeDAL.UpdateCarAlarmTypeById(newentity);

            if (ReturnResult == 0)
            {
                result = false;
            }
            else
            {
                result = true;
            }
            return(result);
        }
Exemple #2
0
 public int AddEntity(CSM.Model.BaseCarAlarmTypeModel entity)
 {
     return(baseCarAlarmTypeDAL.AddEntity(entity));
 }