From 91de9985064d4ef22da3a03345b882621e5baf7e Mon Sep 17 00:00:00 2001 From: Christian Arenas Date: Thu, 15 Jun 2017 19:26:38 +0200 Subject: [PATCH] modify parameter type --- src/Web/WebMVC/Infrastructure/API.cs | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/Web/WebMVC/Infrastructure/API.cs b/src/Web/WebMVC/Infrastructure/API.cs index 05d2b2f45..c41ada86e 100644 --- a/src/Web/WebMVC/Infrastructure/API.cs +++ b/src/Web/WebMVC/Infrastructure/API.cs @@ -1,4 +1,6 @@ -namespace WebMVC.Infrastructure +using System; + +namespace WebMVC.Infrastructure { public static class API { @@ -82,10 +84,15 @@ public static class Marketing { - public static string GetAllCampaigns(string baseUri, string userId) + public static string GetAllCampaigns(string baseUri, Guid userId) { return $"{baseUri}user/{userId}"; } + + public static string GetAllCampaignById(string baseUri, int id) + { + return $"{baseUri}{id}"; + } } } }