Open zuzwoj opened 9 months ago
Are function arguments ok or should they be more specific? (for example, we don't need to pass an entire User class instances but perhaps later on we decide to include extra information in our mails and then it might come in handy)
I assumed that the agreement and the receipt are passed as arguments in the form of file paths, is that ok?
Passing an entire class is fine, it is done by reference in C#. I am not sure about file paths, if I will have time I will check how it should be done (files are uploaded by user in frontend so it would be a path to a file in user machine?)
I suppose we might discuss the attachments in an hour during the meeting.
Wait for agreement on what emails types we should send.