public Studentms Update(Studentms studentms) { Studentms oldStudentms = this.Get(studentms.id); oldStudentms.Name = studentms.Name; return(oldStudentms); }
public async Task <IActionResult> RetriveFee(int id) { Studentms studentms = studentmsRepository.Get(id); return(this.Ok(new { id = studentms.id, name = studentms.Name, address = studentms.Address, Fee = new { fee = await studentmsClient.GetFee(studentms.id) } })); }
public Studentms Add(Studentms studentms) { studentmsCol.Add(studentms); return(studentms); }