BaseControllers get method works with an optional id