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)); }
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)); }
private async Task <HubActionTester <EditUserForm, EmptyActionResult> > setup() { var host = new HubTestHost(); var services = await host.Setup(); return(HubActionTester.Create(services, hubApi => hubApi.UserMaintenance.EditUser)); }
private async Task <HubActionTester <EmptyRequest, AppUserModel[]> > setup() { var host = new HubTestHost(); var services = await host.Setup(); return(HubActionTester.Create(services, hubApi => hubApi.Users.GetUsers)); }
private async Task <HubActionTester <UserRoleRequest, EmptyActionResult> > setup() { var host = new HubTestHost(); var services = await host.Setup(); return(HubActionTester.Create(services, hubApi => hubApi.AppUserMaintenance.UnassignRole)); }
private async Task <HubActionTester <int, WebRedirectResult> > setup() { var host = new HubTestHost(); var services = await host.Setup(); return(HubActionTester.Create(services, hubApi => hubApi.Apps.RedirectToApp)); }
private async Task <HubActionTester <NewVersionRequest, AppVersionModel> > setup() { var host = new HubTestHost(); var services = await host.Setup(); return(HubActionTester.Create(services, hubApi => hubApi.AppRegistration.NewVersion)); }