0
sbenfares created
Is it possible to have an example of file uploading in a form using Application Service Layer ?
I have a form with an input type=file, and in my jquery file :
` // My Application Service var candidatService = abp.services.app.candidat;
// Form submission $formInscription.submit(function (e) { e.preventDefault();
if (!$formInscription.valid()) {
return;
}
var formData = $formInscription.serializeFormToObject();
// Call Service
candidatService.register(formData)
.done(function () {
window.location.href = "/confirmation-inscription-candidat";
});
});
`
How can i retrieve my file in the candidatService ?
What should my inputDto be ?
I can't access the Request for getting the file...
Thanks :)