예제 #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();
 }