This repository represents the final exam for the Data Technician with Specaility in Programming 2024. Grade recieved: Simon: 12 (A+), Jasmin: 12 (A+), Mike: 12 (A+)
Added the IEpubReaderService and EpubReaderService which contains methods to handle the reading of a book and retrieving the current chapter, as well as the next one. This was tested on a web page and is working somewhat.
Added a few more ServiceResult classes as the above mentioned service won't have HttpStatusCode in them, so all the other services have been modified to use the HttpServiceResult{TResult} instead and no errors happened.
Also moved the FileHandler into the common library if it needs to be used across the applications.
One thing that I am yet to figure out, is how to read the images coming in with the Vers.One/EpubReader package, as this might be useful for some things to be displayed more nicely. However, I didn't see that to be our priority for now, as we primarily wanted the content out for display.
Closes #171
IEpubReaderService
andEpubReaderService
which contains methods to handle the reading of a book and retrieving the current chapter, as well as the next one. This was tested on a web page and is working somewhat.ServiceResult
classes as the above mentioned service won't haveHttpStatusCode
in them, so all the other services have been modified to use theHttpServiceResult{TResult}
instead and no errors happened.FileHandler
into the common library if it needs to be used across the applications.One thing that I am yet to figure out, is how to read the images coming in with the
Vers.One/EpubReader
package, as this might be useful for some things to be displayed more nicely. However, I didn't see that to be our priority for now, as we primarily wanted the content out for display.