public bool Handle(AddSubscriptionToProfileCommand cmd) { if (ContainsSubscription(cmd.InstructorId)) { return(true); } EnableSubscription(cmd.InstructorId); return(ContainsSubscription(cmd.InstructorId)); }
public bool Handle(AddSubscriptionToProfileCommand cmd) => AppDetails.Handle(cmd);