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

            if (await NameExist(item.Name)) return false;

            ver.Name = item.Name;

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

            return true;
        }
        public async Task<GpsVersion> Add(GpsVersion item)
        {
            if (await NameExist(item.Name)) return null;

            var newVer = new GpsVersion()
            {
                Name = item.Name
            };

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