Refactored DogsController to remove duplicated code. Added some datamember attributes to breed Category