- You can use a tilde (~) on the method attribute to override the route prefix
- Well,It's like this : [Route("~/PetBooking")]
BookingController.cs
[RoutePrefix("Booking")]
public class BookingController : Controller
{
[Route("~/PetBooking")]
public ActionResult PetBooking() { return View(); }
Above Route on Browser is as below