Beispiel #1
0
        public JesusPlayground()
        {
            var auditableRepo = new AuditableRepo();

            auditableRepo.GetUsuarioById(1);
            var otherRepo = new OtherRepo();
            //otherRepo. (does not have GetUsuarioById
        }
Beispiel #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!
        }
 public Government()
 {
     otherRepos = new OtherRepo();
 }
 public CommissionFee()
 {
     otherRepos = new OtherRepo();
 }
Beispiel #5
0
 public generalData()
 {
     otherRepos = new OtherRepo();
 }
Beispiel #6
0
 public Transactions()
 {
     OtherRepo = new OtherRepo();
 }
Beispiel #7
0
 public DiscountCode()
 {
     OtherRepos = new OtherRepo();
 }
 public discountDetails()
 {
     OtherRepos = new OtherRepo();
 }
 public ExampleWorker(OtherRepo repo)
 {
     _context = repo;
 }
 public TotalAmount()
 {
     OtherRepos = new OtherRepo();
 }
Beispiel #11
0
 public discountCodeAdd()
 {
     OtherRepos = new OtherRepo();
 }
Beispiel #12
0
 public ComplainedTrips()
 {
     OtherRepo = new OtherRepo();
 }
Beispiel #13
0
 public _default()
 {
     OtherRepos = new OtherRepo();
 }
 public ExampleWorker(OtherRepo repo)
 {
     _context = repo;
 }