public NotificationModule(INotificationProvider provider) : base("notification") { Get("settings/{userId}", async args => await Fetch <GetUserNotificationSettings, UserNotificationSettings> (async x => await provider.GetUserNotificationSettingsAsync(x)) .HandleAsync()); }