public IHttpActionResult Update(DegreeSubjectModel degreeSubject) { u = credenciales.getUsuario(); var consulta = DegreeSubjectData.Actualizar(degreeSubject.DegreeSubjectId, degreeSubject.DegreeId, degreeSubject.SubjectId, u); return(Ok(consulta)); }
public IHttpActionResult Create([FromBody] DegreeSubjectModel degreeSubject) { u = credenciales.getUsuario(); var consulta = DegreeSubjectData.Crear(degreeSubject.DegreeId, degreeSubject.SubjectId, u); return(Ok(consulta)); }
public IHttpActionResult ShowUpdate(DegreeSubjectModel degreeSubject) { var consulta = DegreeSubjectData.MostrarActualizar(degreeSubject.DegreeSubjectId); return(Ok(consulta)); }