public void templateDelete(int userId, int templateId) { try { ShipTemplates.delete(userId, templateId); } catch (Exception ex) { SpacegameServer.Core.Core.Instance.writeExceptionToLog(ex); } return; }
public string templateCreateUpdate(int userId, string templateXML) { string ret = ""; try { ret = ShipTemplates.createUpdate(userId, templateXML); } catch (Exception ex) { SpacegameServer.Core.Core.Instance.writeExceptionToLog(ex); } return(ret); }