public async Task <IActionResult> PutMapSpecialUpload([FromRoute] int id, [FromBody] MapSpecialUpload mapSpecialUpload)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }

            if (id != mapSpecialUpload.SpecialUploadId)
            {
                return(BadRequest());
            }

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

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

            return(NoContent());
        }
        public async Task <IActionResult> PostMapSpecialUpload([FromBody] MapSpecialUpload mapSpecialUpload)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }

            _context.MapSpecialUpload.Add(mapSpecialUpload);
            await _context.SaveChangesAsync();

            return(CreatedAtAction("GetMapSpecialUpload", new { id = mapSpecialUpload.SpecialUploadId }, mapSpecialUpload));
        }