Ejemplo n.º 1
0
        public bool Handle(DeleteSubscriptionFromProfileCommand cmd)
        {
            if (!ContainsSubscription(cmd.InstructorId))
            {
                return(true);
            }

            EndSubscription(cmd.InstructorId);

            return(!ContainsSubscription(cmd.InstructorId));
        }
Ejemplo n.º 2
0
 public bool Handle(DeleteSubscriptionFromProfileCommand cmd) => AppDetails.Handle(cmd);