Get an object from a service to allow test to run using xUnit and Moq
This is probably due to my lack of understanding as I’m new to xUnit and Moq but I’m trying to test a post method in my controller, however in the controller, I have this line of code: