private async Task <StudentsViewModel> LoadStudentsViewModelAsync()
        {
            var students = await _postgresSqlService.GetStudentsAsync();

            return(new StudentsViewModel
            {
                Students = students
            });
        }
        public async Task <IActionResult> Run(
            [HttpTrigger(AuthorizationLevel.Function, "get", "post", Route = null)] HttpRequest req,
            ILogger log)
        {
            log.LogInformation("C# HTTP trigger function processed a request.");

            var data = await _postgresSqlService.GetStudentsAsync();

            var serializedData = JsonSerializer.Serialize(data);

            return(new JsonResult(serializedData));
        }