The UploaderService currently only handles image file types, but it could handle any file type with minor changes. These changes could easily be non-breaking, by adding optional parameters to the three methods exposed by the IUploaderService interface.
Adding an optional parameter to specify the name of the file (instead of file.png) would also be a nice touch.
The
UploaderService
currently only handles image file types, but it could handle any file type with minor changes. These changes could easily be non-breaking, by adding optional parameters to the three methods exposed by theIUploaderService
interface.Adding an optional parameter to specify the name of the file (instead of
file.png
) would also be a nice touch.