public string updatePartyToBusinessCase(parParties parParties) { try { return(courtServicesClient.updatePartyToBusinessCase(parParties.toPPoParParties())); } catch (Exception ex) { logger.LogException(ex); return(Failed); } }
public static PublicProsecutionService.parParties toPPoParParties(this parParties parParties) { return(AutoMapper.Mapper.Map <PublicProsecutionService.parParties>(parParties)); }