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

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

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

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

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

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