public ActionResult <Auction> Get(int id) { Auction auction = _dao.Get(id); if (auction != null) { return(Ok(auction)); } else { return(NotFound()); } }
public Auction GetAuctionsId(int id) { Auction auction = dao.Get(id); if (auction != null) { return(auction); } return(null); }
public Auction GetAuction(int id) { Auction auction = dao.Get(id); if (auction != null) { return auction; } return null; }
public Auction Get(int id) { return(dao.Get(id)); }
public Auction Get(int id) { Auction auction = dao.Get(id); return(auction); }