public User GetUser(string userName) { return((AzureAppDbFactory.GetDbContext() as IUserService).GetUser(userName)); }
public void DeleteUser(User user) { (AzureAppDbFactory.GetDbContext() as IUserService).DeleteUser(user); }
public List <User> GetAllUsers() { return((AzureAppDbFactory.GetDbContext() as IUserService).GetAllUsers()); }
public void SaveChanges() { AzureAppDbFactory.GetDbContext().SaveChanges(); }
public AzureApp GetApp(string clientId) { return(AzureAppDbFactory.GetDbContext().GetApp(clientId)); }
public void SaveApp(AzureApp app) { AzureAppDbFactory.GetDbContext().SaveApp(app); }
public List <AzureApp> GetAllApps() { return(AzureAppDbFactory.GetDbContext().GetAllApps()); }
public void DeleteApp(string clientId) { AzureAppDbFactory.GetDbContext().DeleteApp(clientId); }
public void AddApp(AzureApp app) { AzureAppDbFactory.GetDbContext().AddApp(app); }
public void GetAllUsers() { (AzureAppDbFactory.GetDbContext() as IUserService).GetAllUsers(); }