public HomeController( IOptions <FileContentTypes> fileContentTypesOptions, ILanguageContainer languageContainer, IExpressionExtractor expressionExtractor, IUserSessionContainer sessionContainer, IMathExpressionService mathService) : base(languageContainer) { this.fileContentTypes = fileContentTypesOptions.Value; this.expressionExtractor = expressionExtractor; this.sessionContainer = sessionContainer; this.mathService = mathService; }
public static string GetResponseJsonFileName(FileContentTypes fileType) { return($"{fileType}.json"); }