public IActionResult GetByEmailAndHash(string email, string hash) { try { var invite = _inviteService.GetByEmailAndHash(email, hash); return(Ok(invite)); } catch (Exception ex) { return(BadRequest(ex.Message)); } }
public IActionResult GetByEmailAndHash(string email, string hash) { try { var invite = _inviteService.GetByEmailAndHash(email, hash); return(Ok(invite)); } catch (Exception ex) { return(BadRequest(ex.Message)); } }