Ejemplo n.º 1
0
        public ActionResult <List <Lot> > Get(string owner)
        {
            var lots = _lotService.FindByOwner(owner);

            if (lots == null)
            {
                return(NotFound());
            }

            return(lots);
        }