public async Task <IActionResult> CreateAssessment(
            [HttpTrigger(AuthorizationLevel.Anonymous, "post", Route = "assessment/update")]
            [RequestBodyType(typeof(Assessment), "Create/update teacher assessment")] 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();
            Assessment requestData = JsonConvert.DeserializeObject <Assessment>(requestBody);

            await _assessmentService.CreateAssessment(requestData);

            return(new OkObjectResult(new { message = "Assessment created successfull." }));
        }