Ejemplo n.º 1
0
 public ActionResult Record(RecordingSchedule Recording)
 {
     NUtility.ScheduledRecording result = null;
     if ((int)Recording.Type == 0)
     {
         // quick record
         result = new Api.GuideController().QuickRecord(Recording.Oid);
     }
     else
     {
         result = new Api.GuideController().Record(Recording);
     }
     return Json(new { success = result != null, result = result });
 }
Ejemplo n.º 2
0
 public NUtility.ScheduledRecording Record(RecordingSchedule RecordingSchedule)
 {
     return Models.Recording.Record(this.GetUser().Oid, RecordingSchedule);
 }