/// <summary> /// Initialises a new instance of the <see cref="HomeController" /> class. /// </summary> /// <param name="client"><see cref="ITypeScriptAngularWebApiAppHalSwaggerClient" /> instance.</param> public HomeController(ITypeScriptAngularWebApiAppHalSwaggerClient client) { if (client == null) { throw new ArgumentNullException(nameof(client)); } this._client = client; }