public async Task Edit(int id, [FromBody] Student smodel)
 {
     await _repository.UpdateDetails(id, smodel);
 }