public bool Add(Estudiante model) { try { _estudianteDbContext.Add(model); _estudianteDbContext.SaveChanges(); } catch (Exception) { return(false); } return(true); }
public bool Add(Materia model) { try { _t_DbContext.Add(model); _t_DbContext.SaveChanges(); } catch (Exception) { return(false); } return(true); }