public async Task<bool> Update(UnCmSignal item)
        {
            var signal = await IdExist(item.Id);

            signal.Name = item.Name;
            if (!string.IsNullOrEmpty(item.MsgEn)) signal.MsgEn = item.MsgEn;
            if (!string.IsNullOrEmpty(item.MsgTh)) signal.MsgTh = item.MsgTh;

            _db.Entry(signal).State = EntityState.Modified;
            try
            {
                await _db.SaveChangesAsync();
            }
            catch (DbUpdateConcurrencyException exception)
            {
                throw new DbUpdateConcurrencyException(exception.Message);
            }

            return true;
        }
        public async Task<UnCmSignal> Add(UnCmSignal item)
        {
            var signal = new UnCmSignal
            {
                Name = item.Name,
                Id = await UsedIdName(item.Id)
            };

            if (!string.IsNullOrEmpty(item.MsgEn)) signal.MsgEn = item.MsgEn;
            if (!string.IsNullOrEmpty(item.MsgTh)) signal.MsgTh = item.MsgTh;

            signal = _db.UnCmSignals.Add(signal);
            try
            {
                await _db.SaveChangesAsync();
                return signal;
            }
            catch (DbUpdateConcurrencyException exception)
            {
                throw new DbUpdateConcurrencyException(exception.Message);
            }
        }