public static bool IsDive(this PrimaryServiceType serviceType) { return(serviceType == PrimaryServiceType.Dive); }
public static bool IsPhoneConsultation(this PrimaryServiceType serviceType) { return(serviceType == PrimaryServiceType.PhoneConsultation); }
public static ISpecification <PrimaryService> ByType(PrimaryServiceType type) { return(new PrimaryServiceSpecification() .Where(service => service.Type == type)); }
public static bool IsOrientation(this PrimaryServiceType serviceType) { return(serviceType == PrimaryServiceType.Orientation); }
public PrimaryService(PrimaryServiceType type, decimal price) { Type = type; Price = price; }