public CommonResult <Person> UpdataPersonData(string sessionId, Person Model) { try { return(ForPersonalInfoServices.GetInstance(sessionId).UpdataPersonData(Model)); } catch (Exception ex) { throw new FaultException <CustomFaultMessage>(new CustomFaultMessage() { ErrorCode = ex.HResult, Message = ex.Message, StackTrace = ex.StackTrace }); } }
public CommonResult <bool> DelPersonData(string sessionId, string strPersonCode) { try { return(ForPersonalInfoServices.GetInstance(sessionId).DelPersonData(strPersonCode)); } catch (Exception ex) { throw new FaultException <CustomFaultMessage>(new CustomFaultMessage() { ErrorCode = ex.HResult, Message = ex.Message, StackTrace = ex.StackTrace }, ex.Message); } }
public CommonResult <List <Person> > GetPersonList(string sessionId, Tuple <string, List <object> > tFilter, int PageSize, int CurrPage) { try { return(ForPersonalInfoServices.GetInstance(sessionId).GetPersonList(tFilter, PageSize, CurrPage)); } catch (Exception ex) { throw new FaultException <CustomFaultMessage>(new CustomFaultMessage() { ErrorCode = ex.HResult, Message = ex.Message, StackTrace = ex.StackTrace }, ex.Message); } }