public async Task <JsonResult> SaveParty(Party model) { var res = await partyRepo.AddOrUpdateAsync(model); return(Json(new { isOk = res })); }