public IActionResult GetById([FromRoute, Required] int partyId) { return(Ok(partyService.GetById(partyId))); }
public JsonResult PartyEdit(int id) { var partyData = partyService.GetById(id); return(Json(partyData, JsonRequestBehavior.AllowGet)); }