public ReservationsController(MagicCarpetWebAppContext context, INsService nsService, CalculateController calculateController, IQrService qrService) { _context = context; _nsService = nsService; _calculateController = calculateController; _qrService = qrService; }
public AddContactViewModel(IQrService qrService, IMessageService messageService, IMvxMessenger messenger, IPopupHelper helper) : base(messenger, helper) { _qrService = qrService; _messageService = messageService; CodeDetectedCommand = new MvxCommand <string>(CodeDetectedCommandAction); AddContactCommand = new MvxCommand(AddContactCommandAction, AddContactCanExecute); }
public AddContactViewModel(IQrService qrService, IMessageService messageService, IMvxMessenger messenger, IPopupHelper helper) : base(messenger, helper) { _qrService = qrService; _messageService = messageService; CodeDetectedCommand = new MvxCommand<string>(CodeDetectedCommandAction); AddContactCommand = new MvxCommand(AddContactCommandAction, AddContactCanExecute); }
public SettingsViewModel(IUserService userService, IStorageService storageService, IQrService qrService, IMvxMessenger messenger, IPopupHelper helper) : base(messenger, helper) { _userService = userService; _storageService = storageService; _qrService = qrService; GenerateCodeCommand = new MvxCommand(GenerateCodeAction, () => !string.IsNullOrWhiteSpace(ContactName)); ClearCommand = new MvxCommand(ClearCommandAction); }
public ExportAccountViewModel() : base() { this.qrService = ServiceContainer.Resolve <IQrService> (); }
public QrController(IQrService service) { _service = service; }