public async Task <IActionResult> EditPerson_json(int personID, [FromBody] Person.Person_json value)
        {
            var existing = await _db.Person_Person_json.FirstOrDefaultAsync(x => x.PersonID == personID);

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

            existing.PersonID              = value.PersonID;
            existing.PersonType            = value.PersonType;
            existing.NameStyle             = value.NameStyle;
            existing.Title                 = value.Title;
            existing.FirstName             = value.FirstName;
            existing.MiddleName            = value.MiddleName;
            existing.LastName              = value.LastName;
            existing.Suffix                = value.Suffix;
            existing.EmailPromotion        = value.EmailPromotion;
            existing.AdditionalContactInfo = value.AdditionalContactInfo;
            existing.Demographics          = value.Demographics;
            existing.rowguid               = value.rowguid;
            existing.ModifiedDate          = value.ModifiedDate;

            _db.Person_Person_json.Update(existing);
            await _db.SaveChangesAsync();

            return(NoContent());
        }
        public async Task <IActionResult> CreatePerson_json([FromBody] Person.Person_json value)
        {
            _db.Person_Person_json.Add(value);
            await _db.SaveChangesAsync();

            return(Ok(value));
        }