Esempio n. 1
0
 public static ClientService.SourceCredentials getSourceCredentials(APIModel model)
 {
     return new ClientService.SourceCredentials
     {
         Password = model.SourcePassword,
         SiteIDs = new[] { model.SiteID },
         SourceName = model.SourceName
     };
 }
Esempio n. 2
0
 public static ClientService.UserCredentials getUserCredentials(APIModel model)
 {
     return new ClientService.UserCredentials
     {
         Password = model.Password,
         SiteIDs = new[] { model.SiteID },
         Username = model.Username
     };
 }
 public static AppointmentService.StaffCredentials getStaffCredentials(APIModel model)
 {
     return new AppointmentService.StaffCredentials
     {
         Password = model.StaffPassword,
         SiteIDs = new[] { model.SiteID },
         Username = model.StaffName
     };
 }