Exemple #1
0
 public void Initialize()
 {
     // Arrange
     var eventsRepo = new FakeUserRepository();
     var uow = new UnitofWork { UserRepository = eventsRepo };
        // Controller = new OwnersController(uow);
 }
 public InvitationHelper(UnitofWork uow)
 {
     _uow = uow;
 }
 public InvitationHelper()
 {
     _uow = new Uow().AllRepo();
 }
 public BuyerHelper(UnitofWork uow, Buyers b)
 {
     _uow = uow;
     Buyer = b;
 }
 public BuyerHelper()
 {
     _uow = new Uow().AllRepo();
     Buyer = new Buyers();
 }
Exemple #6
0
 public void Initialize()
 {
     _uow = new Uow().AllRepo();
 }
 public SellerHelper(UnitofWork uow,  Sellers s)
 {
     _uow = uow;
     Seller = s;
 }
 public SellerHelper()
 {
     _uow = new Uow().AllRepo();
     Seller = new Sellers();
 }
 public void CleanUp()
 {
     _uow = null;
 }
 public EventOrganizerHelper()
 {
     _uow = new Uow().AllRepo();
 }