public async Task Edit_ReturnsHttpNotFoundWhenManagerIdNotFound() { //Arrange int AttendeeID = 4; var dbContext = await GetDatabaseContext(); var managersController = new ManagersController(dbContext); //Act var result = await managersController.Edit(AttendeeID); //Assert Assert.IsType <NotFoundResult>(result); }