예제 #1
0
        public async Task <IHttpActionResult> EndBiddingWhenExpired(int id)
        {
            try
            {
                await lotService.EndBiddingWhenTimeExpired(id);

                return(Ok("Bidding end"));
            }
            catch (NotFoundException)
            {
                return(NotFound());
            }
        }