public List <calendarTask> GetTask(string idStudent) { calendarTask t = new calendarTask(); return(t.getallcalendarTByStudent(idStudent)); }
public int PutupdateT([FromBody] calendarTask t) { return(t.updateT()); }
public int PutdeleteT([FromBody] int id) { calendarTask t = new calendarTask(); return(t.deleteT(id)); }
public int PostinsertM([FromBody] calendarTask ct) { return(ct.insert()); }