public bool addBid(HighestBidDTO highestBidDTO, string auctionId) { var identifier = BasicAutenticationParser.ParseAuthorizationHeader(HttpContext.Current.Request.Headers["Authorization"]); var bid = Mapper.ToBid(highestBidDTO, auctionId, identifier.Name); return(_DBManager.AddBid(bid)); }