/// <summary> /// Gets the model with the given key. /// </summary> /// <param name="key">The unique key</param> /// <returns>The model</returns> public static Param GetByKey(this ParamService service, string key) { return(service.GetByKeyAsync(key).GetAwaiter().GetResult()); }