示例#1
0
 public User GetUser(string userName)
 {
     return((AzureAppDbFactory.GetDbContext() as IUserService).GetUser(userName));
 }
示例#2
0
 public void DeleteUser(User user)
 {
     (AzureAppDbFactory.GetDbContext() as IUserService).DeleteUser(user);
 }
示例#3
0
 public List <User> GetAllUsers()
 {
     return((AzureAppDbFactory.GetDbContext() as IUserService).GetAllUsers());
 }
示例#4
0
 public void SaveChanges()
 {
     AzureAppDbFactory.GetDbContext().SaveChanges();
 }
示例#5
0
 public AzureApp GetApp(string clientId)
 {
     return(AzureAppDbFactory.GetDbContext().GetApp(clientId));
 }
示例#6
0
 public void SaveApp(AzureApp app)
 {
     AzureAppDbFactory.GetDbContext().SaveApp(app);
 }
示例#7
0
 public List <AzureApp> GetAllApps()
 {
     return(AzureAppDbFactory.GetDbContext().GetAllApps());
 }
示例#8
0
 public void DeleteApp(string clientId)
 {
     AzureAppDbFactory.GetDbContext().DeleteApp(clientId);
 }
示例#9
0
 public void AddApp(AzureApp app)
 {
     AzureAppDbFactory.GetDbContext().AddApp(app);
 }
示例#10
0
 public void GetAllUsers()
 {
     (AzureAppDbFactory.GetDbContext() as IUserService).GetAllUsers();
 }