常用方法
常用方法
常用方法
常用方法
public ActionResult AddPartyAddress(PartyAddressModel partyAddressModel) { try { _partyService.AddPartyAddress(partyAddressModel); return(Ok(new { Success = true, data = "Success" })); } catch (Exception ex) { return(StatusCode((int)HttpStatusCode.InternalServerError, new { Success = false, data = "Internal Server Error", Message = ex.Message })); } }