예제 #1
0
 public Boolean Create_Relational_Sport_with_Runtine(rutinas_deportes oRelational)
 {
     try
     {
         if (oRelational != null)
         {
             oRutinasContainer.rutinas_deportes.Add(oRelational);
             oRutinasContainer.SaveChanges();
             estado = true;
         }
     }
     catch (Exception)
     {
         estado = false;
     }
     return(estado);
 }
예제 #2
0
 public bool CreateRelation(rutinas_deportes oRelational)
 {
     return(oRutinas.Create_Relational_Sport_with_Runtine(oRelational));
 }