예제 #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((NotificationContract.GetHashCode() * 397) ^ SubscriberDataContract.GetHashCode());
     }
 }
예제 #2
0
        public NotificationContract GetNotifications(int UserID)
        {
            NotificationContract returnobject = new NotificationContract();

            returnobject.NotificationList = NotificationRepo.GetNotifications(UserID).ToList();

            return(returnobject);
        }
예제 #3
0
 public bool Equals(Subscription other)
 {
     return(NotificationContract.Equals(other.NotificationContract) && SubscriberDataContract.Equals(other.SubscriberDataContract));
 }