Exemple #1
0
 public IHttpActionResult Put([FromBody] Subject subject, int tid, int sid)
 {
     subject.SubjectId = sid;
     subRepo.Edit(subject);
     return(Ok(subject));
 }