public static ProjectTeamMemberModel FindByProjectAndUser(string projectGuid, string userGuid)
        {
            var user = UserRepository.FindByGuid(userGuid);

            return(ProjectTeamMemberModel.Find(
                       ProjectRepository.Find(EntityUtils.GetEntityId(projectGuid, EntityType.Project)), user
                       ));
        }
 public static ProjectTeamMemberModel CreateAndGet(ProjectModel project, UserModel user)
 {
     return(ProjectTeamMemberModel.Find(ProjectTeamMemberModel.Create(project, user)));
 }
 public static ProjectTeamMemberModel Find(ProjectModel project, UserModel user)
 {
     return(ProjectTeamMemberModel.Find(project, user));
 }
 public static ProjectTeamMemberModel Find(int id)
 {
     return(ProjectTeamMemberModel.Find(id));
 }