Completed designing api IBaseRepository