public void addAuction(AuctionAddingDTO auctionAddingDto) { var identifier = BasicAutenticationParser.ParseAuthorizationHeader(HttpContext.Current.Request.Headers["Authorization"]); var auction = Mapper.ToAuction(auctionAddingDto, identifier.Name); _DBManager.AddAuction(auction); }