public IActionResult GetAll() { if (_referralService.GetAll() == null) { return(NotFound()); } return(Ok(_referralService.GetAll())); }
public IEnumerable <Referral> GetAll() { return(_referralService.GetAll()); }