public async Task <IActionResult> EditForm(int id)
        {
            Profesoret profesoret = new Profesoret();

            using (var httpClient = new HttpClient())
            {
                profesoret = await GetAPI.GetProfesoretAsync(httpClient, id);

                List <Lendet> MyLendets = await GetAPI.GetLendetListAsync(httpClient);

                ViewData["LendaId"] = new SelectList(MyLendets, "LendetId", "EmriLendes");
            }

            return(View(profesoret));
        }