public HttpResponseMessage GetNumberCampaignsByStudent(HttpRequestMessage request, int Id) { int number = _studentApi.GetNumberOfCampaignsByID(Id); var response = request.CreateResponse(HttpStatusCode.OK, number); return(response); }