Example #1
0
        public virtual IActionResult GetVenues([FromRoute] int offset = 0, [FromRoute] int maxLimit = 20)
        {
            var result = _venueRepository.GetVenues(offset, maxLimit);

            if (result == null)
            {
                return(BadRequest());
            }
            return(new ObjectResult(result));
        }