public async Task <IActionResult> Create([Bind("LastName,FirstName,HireDate")] InstructorDto addnew)
        {
            if (addnew == null)
            {
                return(BadRequest());
            }
            try
            {
                await _instructorSvc.AddAsync(addnew);

                return(RedirectToAction(nameof(Index)));
            }
            catch (HttpRequestException ex)
            {
                return(View(addnew));
            }
        }