public DTO.ResponseMessage <bool> ChangePassword(string userId, string oldPassword, string newPassword) { PersonService.PersonServiceClient svc = new PersonService.PersonServiceClient(); return(svc.ChangePassword(userId, oldPassword, newPassword)); }
public PersonBiz() { svc = new PersonService.PersonServiceClient(); }
public DTO.ResponseService <DTO.UserProfile> Authentication(string userName, string password, bool IsOIC) { PersonService.PersonServiceClient svc = new PersonService.PersonServiceClient(); return(svc.Authentication(userName, password, IsOIC, "")); }