예제 #1
0
 public IActionResult AddOrUpdate([FromBody] Member member)
 {
     return(_repo.AddOrUpdate(member) ? Ok() : BadRequest() as IActionResult);
 }