private ProductFeedbackController GetControllerInstance(IProductFeedbackFacade facadeObject, Dictionary <string, string> headers = default) { var context = GetHttpContext(headers); var controllerContext = new ControllerContext { HttpContext = context }; return(new ProductFeedbackController(facadeObject) { ControllerContext = controllerContext }); }
public ProductFeedbackController(IProductFeedbackFacade productFeedbackFacade) { _productFeedbackFacade = productFeedbackFacade; }