Example #1
0
 public EmployeeController(ResponseDBContext _db)
 {
     db     = _db;
     client = new HttpClient();
 }
Example #2
0
 public CommentsRepository(ResponseDBContext context) : base(context)
 {
 }
Example #3
0
 public GenericRepository(ResponseDBContext context)
 {
     _context = context;
 }
 public CustomerController(ResponseDBContext _db)
 {
     db                 = _db;
     client             = new HttpClient();
     client.BaseAddress = baseAddress;
 }