/// <summary> /// This is constructor /// </summary> /// <param name="fileService">This is parameter used to work with file service</param> /// <param name="jsonConverter">This is parameter used to work with json converter service</param> /// <param name="attachFileService">This is parameter used to work with attach file service</param> public AddNoteViewModel(IFileService fileService, IJsonConverterService jsonConverter, IAttachFileService attachFileService) { _fileService = fileService; _jsonConverter = jsonConverter; _attachFileService = attachFileService; SaveNoteCommand = new MvxCommand(SaveNoteAsync); AttachFileCommand = new MvxCommand(AttachFileAsync); }
public AttachFileController() { attachSvc = new AttachFileService(); }