public async Task UpdateAsync(TB_AlarmLogEntity entity)
 {
     await _tB_AlarmLogEntityRepository.UpdateAsync(entity);
 }
        public async Task <TB_AlarmLogEntity> CreateAsync(TB_AlarmLogEntity entity)
        {
            entity.Id = await _tB_AlarmLogEntityRepository.InsertAndGetIdAsync(entity);

            return(entity);
        }