public IActionResult Post(MentorDtl item) { _repository.Add(item); return(Ok("Record Added")); }
public IActionResult Post([FromBody] Mentor item) { _repository.Add(item); return(Ok("Record Added")); }
public IActionResult Post(MentorDtl item) { _repository.Add(item); return(Ok("Record Added")); }
public IActionResult Post([FromBody] Mentor item) { _repository.Add(item); return(Ok("Record Added")); }