//Constructor
 public StatisticsController(CharityDBContext context)
 {
     db = context;
 }
 //Constructor
 public PartnerController(CharityDBContext context)
 {
     db = context;
 }
 //Constructor
 public CauseController(CharityDBContext context)
 {
     db = context;
 }
Exemple #4
0
 public GenericRepository()
 {
     this._context = new CharityDBContext();
     table         = _context.Set <T>();
 }
Exemple #5
0
 public GenericRepository(CharityDBContext _context)
 {
     this._context = _context;
     table         = _context.Set <T>();
 }
 //Constructor
 public RESTController(CharityDBContext context)
 {
     db = context;
 }
 //Constructor
 public MapController(CharityDBContext context)
 {
     db = context;
 }
 //Constructor
 public SubscriptionController(CharityDBContext context)
 {
     db = context;
 }
Exemple #9
0
 //Constructor
 public SignatureController(CharityDBContext context)
 {
     db = context;
 }
 //Constructor
 public ProductController(CharityDBContext context)
 {
     db = context;
 }
Exemple #11
0
 //Constructor
 public DonationController(CharityDBContext context)
 {
     db = context;
 }
 //Constructor
 public PlanController(CharityDBContext context)
 {
     db = context;
 }
 //Constructor
 public EShopController(CharityDBContext context)
 {
     _dbContext = context;
 }
 //Constructor
 public HomeController(CharityDBContext context)
 {
     db = context;
 }