public async Task <JsonResult> DelInPortOutPort(int Id) { var result = await serverRepo.DelInPortOutPort(Id); return(Json(new { isOk = result })); }