public async Task <IActionResult> Save([FromBody] EServerConfig eConfig) { using (var context = new SMySQLContext()) { var e = context.Update(eConfig); await context.SaveChangesAsync(); return(Ok(e.Entity.id)); } }