/// <summary>
            /// Get a manufacturer from the Webshop
            /// </summary>
            /// <param name="manufacturerId">Id of the manufacturer to be retrieved</param>
            /// <param name="errorMsg" type="output">Error message returned by the web method</param>
            /// <returns>Returns a Manufacturer object populated with data</returns>
            internal static Manufacturer GetManufacturerById(int manufacturerId, out string errorMsg)
            {
                string xmlData = GetDataFromWebMethod("manufacturer",
                                                      "getById",
                                                      "id=" + manufacturerId);

                if (WebMethodReturnedError(xmlData, out errorMsg))
                {
                    return(null);
                }
                else
                {
                    errorMsg = null;
                    Manufacturer manufacturer = ManufacturerRepository.LoadManufacturerFromXml(xmlData);
                    return(manufacturer);
                }
            }
 public bool SetSyncStatus(bool status)
 {
     return(ManufacturerRepository.SetManufacturerSyncStatus(this.Id, status));
 }