public async Task <bool> Delete(int id)
        {
            try
            {
                var record = await _context.CountryMaster.SingleOrDefaultAsync(m => m.CountryId == id);

                if (record == null)
                {
                    return(false);
                }
                _context.Remove(record);
                await _context.SaveChangesAsync();

                return(true);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }