public async Task <IActionResult> Delete(int id)
        {
            var result = await _dataContext.Employees.SingleOrDefaultAsync(x => x.Id == id);

            if (result == null)
            {
                return(NotFound());
            }

            _dataContext.Remove(result);
            await _dataContext.SaveChangesAsync();

            return(NoContent());
        }