So I'm building up an emailing system which retrieves incoming email with attachments and also responding to emails requires saving and storing attachments into azure blob and/or aws s3 storage...
I have two controllers, CommentsController, TicketsControoler this both controllers needs to use Azure API or AWS Storage to store and reterive files.
What is a good design pattern to use in this scenario?
I'm thinking a repository pattern which I will inject into the controllers.
please advise.
Aucun commentaire:
Enregistrer un commentaire