public async Task <IActionResult> Edit([FromRoute] int id, [Bind("Id,LastName,FirstName,HireDate")] Instructor update)
        {
            if (id != update.Id)
            {
                return(NotFound());
            }
            try
            {
                var model = await _instructorSvc.UpdateAsync(update);

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