예제 #1
0
 public void AddOtherUser(string type, int programId, int userID)
 {
     if (type.Equals("film"))
     {
         filmRepository.AddOtherUser(programId, userID);
     }
     if (type.Equals("series"))
     {
         seriesRepository.AddOtherUser(programId, userID);
     }
 }