repository added for api entity