public async Task <IActionResult> PutViewapplicationData(int id, ViewapplicationData viewapplicationData)
        {
            if (id != viewapplicationData.ID)
            {
                return(BadRequest());
            }

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

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

            return(NoContent());
        }
        public async Task <ActionResult <ViewapplicationData> > PostViewapplicationData(ViewapplicationData viewapplicationData)
        {
            _context.ViewapplicationData.Add(viewapplicationData);
            await _context.SaveChangesAsync();

            return(CreatedAtAction("GetViewapplicationData", new { id = viewapplicationData.ID }, viewapplicationData));
        }