public async Task RemoveBidAsync(Models.Bid bid)
 {
     await Task.Run(async() =>
     {
         _bidRepository.Configure();
         var bidDAL = new DataAccess.Models.Bid()
         {
         };
         bidDAL.InjectFrom(bid);
         await _bidRepository.RemoveBidAsync(bidDAL);
     });
 }
        public async Task AddBidAsync(Models.Bid bid)
        {
            await Task.Run(async() =>
            {
                _bidRepository.Configure();
                var bidDAL = new DataAccess.Models.Bid()
                {
                    Id = (bid.Id != Guid.Empty) ? bid.Id : Guid.NewGuid()
                };
                bidDAL.InjectFrom(bid);

                await _bidRepository.AddBidAsync(bidDAL);
            });
        }