public HttpResponseMessage ActivateModule(HttpRequestMessage request, [FromBody] int moduleId)
        {
            return(GetHttpResponse(request, () =>
            {
                HttpResponseMessage response = null;

                // not that calling the WCF service here will authenticate access to the data
                Module module = _CoreService.GetModule(moduleId);

                if (module != null)
                {
                    _CoreService.ActivateModule(moduleId);

                    response = request.CreateResponse(HttpStatusCode.OK);
                }
                else
                {
                    response = request.CreateErrorResponse(HttpStatusCode.NotFound, "No module found under that ID.");
                }

                return response;
            }));
        }