コード例 #1
0
        public async Task <IActionResult> PutEnvironment(long id, Models.Environment Environment)
        {
            if (id != Environment.id)
            {
                return(BadRequest());
            }
            _context.Entry(Environment).State = EntityState.Modified;
            await _context.SaveChangesAsync();

            return(NoContent());
        }