public async Task <IModifier> Modifier(ModifierKey modKey) { var appModifier = await appContext.GetModifierKey(); var request = new GetModCategoryModifierRequest { CategoryID = ID.Value, ModifierKey = modKey.Value }; var modifier = await hubClient.ModCategory.GetModifier(appModifier, request); return(new HubClientModifier(hubClient, appContext, modifier)); }
public Task <ModifierModel> GetModifier(string modifier, GetModCategoryModifierRequest model) => Post <ModifierModel, GetModCategoryModifierRequest>("GetModifier", modifier, model);