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