示例#1
0
        public bool Handle(AddSubscriptionToProfileCommand cmd)
        {
            if (ContainsSubscription(cmd.InstructorId))
            {
                return(true);
            }

            EnableSubscription(cmd.InstructorId);

            return(ContainsSubscription(cmd.InstructorId));
        }
示例#2
0
 public bool Handle(AddSubscriptionToProfileCommand cmd) => AppDetails.Handle(cmd);