예제 #1
0
 public static List <Interaction> FindByFilter(int?postID, int?userID, int limit, int lastID, string postIDsToFindLike)
 {
     return(InteractionRepository.GetInstance().FindFilter(postID, userID, limit, lastID, postIDsToFindLike));
 }
예제 #2
0
 public static List <Interaction> GetByPostIDList(List <int> postIDs, int?userID)
 {
     return(InteractionRepository.GetInstance().GetByPostIDList(postIDs, userID));
 }
예제 #3
0
 public static List <Interaction> FindAllWithInactive()
 {
     return(InteractionRepository.GetInstance().FindAllWithInactive());
 }
예제 #4
0
 public static List <InteractionDTO> GetInteractionsDTO(int userID, int limit, int lastID)
 {
     return(InteractionRepository.GetInstance().GetInteractionsDTO(userID, limit, lastID));
 }
예제 #5
0
 public static bool Delete(Interaction model)
 {
     return(InteractionRepository.GetInstance().Delete(model));
 }
예제 #6
0
 public static bool Insert(Interaction model)
 {
     return(InteractionRepository.GetInstance().Insert(model));
 }
예제 #7
0
 public static Interaction GetInteraction(int id)
 {
     return(InteractionRepository.GetInstance().FindByPK(id));
 }