Пример #1
0
 public UserServices(string id, Service service)
 {
     this.Id = id;
     this.Service = service;
 }
        private void ProcessService(Service service)
        {
            if(service == null)
                return;

            switch (service.Type)
            {
                case ServiceTypeEnum.Netflix:
                    this.Netflix();
                    break;
                default:
                    break;
            }
        }