public async Task <IActionResult> ContentCreateUpdate(
            [HttpTrigger(AuthorizationLevel.Anonymous, "post", Route = "content/create")]
            [RequestBodyType(typeof(Content), "Create/update content")] HttpRequest request)
        {
            var validateStatus = base.AuthorizationStatus(request);

            if (validateStatus != System.Net.HttpStatusCode.Accepted)
            {
                return(new BadRequestObjectResult(validateStatus));
            }

            string  requestBody = await new StreamReader(request.Body).ReadToEndAsync();
            Content requestData = JsonConvert.DeserializeObject <Content>(requestBody);

            try
            {
                await _contentService.CreateUpdate(requestData);
            }
            catch (HttpResponseException ex)
            {
                return(new ConflictObjectResult(ex.Response.Content));
            }
            return(new OkObjectResult(new { message = "Create/update content successful." }));
        }