private async Task <HubActionTester <int, ResourceGroupModel[]> > setup()
        {
            var host     = new HubTestHost();
            var services = await host.Setup();

            return(HubActionTester.Create(services, hubApi => hubApi.ModCategory.GetResourceGroups));
        }
        private async Task <HubActionTester <EmptyRequest, ModifierModel> > setup()
        {
            var host     = new HubTestHost();
            var services = await host.Setup();

            return(HubActionTester.Create(services, hubApi => hubApi.App.GetDefaultModiifer));
        }
        private async Task <HubActionTester <EmptyRequest, AppVersionModel> > setup()
        {
            var host     = new HubTestHost();
            var services = await host.Setup();

            return(HubActionTester.Create(services, hubApi => hubApi.Version.GetCurrentVersion));
        }
Exemplo n.º 4
0
        private async Task <HubActionTester <AddUserModel, int> > setup()
        {
            var host     = new HubTestHost();
            var services = await host.Setup();

            return(HubActionTester.Create(services, hubApi => hubApi.Users.AddUser));
        }
        private async Task <HubActionTester <int, UserModifierCategoryModel[]> > setup()
        {
            var host     = new HubTestHost();
            var services = await host.Setup();

            return(HubActionTester.Create(services, hubApi => hubApi.AppUser.GetUserModCategories));
        }
Exemplo n.º 6
0
        private async Task <HubActionTester <EditUserForm, EmptyActionResult> > setup()
        {
            var host     = new HubTestHost();
            var services = await host.Setup();

            return(HubActionTester.Create(services, hubApi => hubApi.UserMaintenance.EditUser));
        }
Exemplo n.º 7
0
        private async Task <HubActionTester <EmptyRequest, AppUserModel[]> > setup()
        {
            var host     = new HubTestHost();
            var services = await host.Setup();

            return(HubActionTester.Create(services, hubApi => hubApi.Users.GetUsers));
        }
Exemplo n.º 8
0
        private async Task <HubActionTester <UserRoleRequest, EmptyActionResult> > setup()
        {
            var host     = new HubTestHost();
            var services = await host.Setup();

            return(HubActionTester.Create(services, hubApi => hubApi.AppUserMaintenance.UnassignRole));
        }
Exemplo n.º 9
0
        private async Task <HubActionTester <int, WebRedirectResult> > setup()
        {
            var host     = new HubTestHost();
            var services = await host.Setup();

            return(HubActionTester.Create(services, hubApi => hubApi.Apps.RedirectToApp));
        }
Exemplo n.º 10
0
        private async Task <HubActionTester <NewVersionRequest, AppVersionModel> > setup()
        {
            var host     = new HubTestHost();
            var services = await host.Setup();

            return(HubActionTester.Create(services, hubApi => hubApi.AppRegistration.NewVersion));
        }