public async Task <IEnumerable <SelectListItem> > GetDepartments(Guid?facultyId)
        {
            var faculty = await _requestSender.GetContetFromRequestAsyncAs <Faculty>(
                await _requestSender.SendGetRequestAsync("https://localhost:44389/api/Faculties/one?id=" + facultyId)
                );

            IEnumerable <SelectListItem> departmentsSelectListItems = faculty.Departments.OrderBy(n => n.Name)
                                                                      .Select(n =>
                                                                              new SelectListItem
            {
                Value = n.Id.ToString(),
                Text  = n.Name
            }).ToList();

            return(new SelectList(departmentsSelectListItems, "Value", "Text"));
        }