public async Task <IActionResult> Edit(int id, [Bind("Name,Id,IsActive")] DataQualityEntity dataQualityEntity)
        {
            if (id != dataQualityEntity.Id)
            {
                return(NotFound());
            }

            if (ModelState.IsValid)
            {
                try
                {
                    await _dataQualityRepo.UpdateAsync(dataQualityEntity);
                }
                catch (DbUpdateConcurrencyException)
                {
                    if (!dataQualityEntityExists(dataQualityEntity.Id))
                    {
                        return(NotFound());
                    }
                    else
                    {
                        throw;
                    }
                }
                return(RedirectToAction(nameof(Index)));
            }
            return(View(dataQualityEntity));
        }
        public async Task <IActionResult> Create([Bind("Name,Id,IsActive,CreDate")] DataQualityEntity dataQualityEntity)
        {
            if (ModelState.IsValid)
            {
                await _dataQualityRepo.AddAsync(dataQualityEntity);

                return(RedirectToAction(nameof(Index)));
            }
            return(View(dataQualityEntity));
        }