@kesarlingHe-Him I would actually advise you to have a "util" class/library that deals with input sanitation of this kind. This kind of code would easily hurt maintainability on the long run.
\[**[Kesarling He-Him](https://discord.gg/PNMq3pBSUe)**] What is the use of `IDbContextFactory`? Also, if we use that, do we still need to add the `DbContext` as service in the `Startup` file?
I was thinking that to move data through the network, it eventually needs to be in bytes, so base64 would be converted back to byte array, but how networks deal with string rep. is I don't know