Exemplo n.º 1
0
        public JesusPlayground()
        {
            var auditableRepo = new AuditableRepo();

            auditableRepo.GetUsuarioById(1);
            var otherRepo = new OtherRepo();
            //otherRepo. (does not have GetUsuarioById
        }
Exemplo n.º 2
0
        public JesusPlayground()
        {
            var auditableRepo = new AuditableRepo();

            auditableRepo.GetUsuarioById(1);
            var otherRepo = new OtherRepo();
            //otherRepo. (does not have GetUsuarioById
            var auditableRepoNotUsingTheActualClass = new GenericRepository <IAuditable>();

            auditableRepoNotUsingTheActualClass.GetUsuarioById(1);     //still works!
        }
Exemplo n.º 3
0
 public Government()
 {
     otherRepos = new OtherRepo();
 }
Exemplo n.º 4
0
 public CommissionFee()
 {
     otherRepos = new OtherRepo();
 }
Exemplo n.º 5
0
 public generalData()
 {
     otherRepos = new OtherRepo();
 }
Exemplo n.º 6
0
 public Transactions()
 {
     OtherRepo = new OtherRepo();
 }
Exemplo n.º 7
0
 public DiscountCode()
 {
     OtherRepos = new OtherRepo();
 }
Exemplo n.º 8
0
 public discountDetails()
 {
     OtherRepos = new OtherRepo();
 }
 public ExampleWorker(OtherRepo repo)
 {
     _context = repo;
 }
Exemplo n.º 10
0
 public TotalAmount()
 {
     OtherRepos = new OtherRepo();
 }
Exemplo n.º 11
0
 public discountCodeAdd()
 {
     OtherRepos = new OtherRepo();
 }
Exemplo n.º 12
0
 public ComplainedTrips()
 {
     OtherRepo = new OtherRepo();
 }
Exemplo n.º 13
0
 public _default()
 {
     OtherRepos = new OtherRepo();
 }
 public ExampleWorker(OtherRepo repo)
 {
     _context = repo;
 }