public void RegisterModule(Content.Module module) { HttpGet <Module>(string.Format("lms/module/{0}/register", module.Guid), null, ErrorHandlerPrint, new Dictionary <string, string> { { "application", module.application.Guid.ToString() }, { "name", module.title }, }); }
public void GetModuleSummary(Content.Module module, Action <ModuleSummary> result_callback) { HttpGet(string.Format("lms/module/{0}/summary", module.Guid), result_callback, ErrorHandlerExec(result_callback), null); }
public void GetModule(Content.Module module, Action <Module> result_callback) { moduleGuidCache.Get(module, result_callback, (mod, c) => HttpGet(string.Format("lms/module/{0}", mod.Guid), c, ErrorHandlerPrintExec(c), null)); }