api for CRUD operations updated to be generics, added the DC dto