Closed marcinadd closed 5 years ago
Hi I wanted to solve this would you please tell me the process i am the first time contributor.
TeamRoleService has method getTeamRolesWhereManager() which can be replaced by countBy… method in TeamRoleRepository, same as in ProjectRoleRepository for example.
so you want me to remove private int getTeamManagersCount(Team team) method from TeamRoleService and create a method int countByTeamAndName(Team team, TeamRoles name); in TeamRoleRepository class? is that right if yes than please guide me how create branch and than pull request.
Thanks in advance
Yes. You're right. Read something about contributing.
I have created a pull request for this issue. please review thanks
Use countBy in TeamRoleRepository instead