public static Video Select(int id)
    {
        VideoDSTableAdapters.VideoTableAdapter adapter = new VideoDSTableAdapters.VideoTableAdapter();
        VideoDS.VideoDataTable table = adapter.Select(id);

        Video objVideo = rowToDto(table[0]);

        return objVideo;
    }
 public static List<Video> SelectRandom()
 {
     VideoDSTableAdapters.VideoTableAdapter adapter = new VideoDSTableAdapters.VideoTableAdapter();
     VideoDS.VideoDataTable table = adapter.SelectRandom();
     List<Video> listaDeVideos = new List<Video>();
     foreach (VideoDS.VideoRow row in table)
     {
         listaDeVideos.Add(rowToDto(row));
     }
     return listaDeVideos;
 }
 public static void Insert(string nombre, string descripcion, string video, string imagen, DateTime creacion, int canal_Id)
 {
     VideoDSTableAdapters.VideoTableAdapter adapter = new VideoDSTableAdapters.VideoTableAdapter();
     adapter.Insert(nombre, descripcion, video, imagen, creacion, canal_Id);
 }
 public static void Delete(int id)
 {
     VideoDSTableAdapters.VideoTableAdapter adapter = new VideoDSTableAdapters.VideoTableAdapter();
     adapter.Delete(id);
 }