public async Task <ActionResult <SOSModel> > PostSOSModel(SOSModel sOSModel)
        {
            _context.SOSModels.Add(sOSModel);
            await _context.SaveChangesAsync();

            return(CreatedAtAction("GetSOSModel", new { id = sOSModel.Id }, sOSModel));
        }
        public async Task <IActionResult> PutSOSModel(int id, SOSModel sOSModel)
        {
            if (id != sOSModel.Id)
            {
                return(BadRequest());
            }

            _context.Entry(sOSModel).State = EntityState.Modified;

            try
            {
                await _context.SaveChangesAsync();
            }
            catch (DbUpdateConcurrencyException)
            {
                if (!SOSModelExists(id))
                {
                    return(NotFound());
                }
                else
                {
                    throw;
                }
            }

            return(NoContent());
        }