public DTO.ResponseService <DTO.UserProfile> UserAuthen(string userName, string password, bool IsOIC, string Ip) { return(svc.Authentication(userName, password, IsOIC, Ip)); }
public DTO.ResponseService <DTO.UserProfile> Authentication(string userName, string password, bool IsOIC) { PersonService.PersonServiceClient svc = new PersonService.PersonServiceClient(); return(svc.Authentication(userName, password, IsOIC, "")); }