Esempio n. 1
0
 public DonatorService(DonatorContext dbContext)
 {
     _context        = dbContext;
     bloodAmountList = new List <DataPoint>();
 }
Esempio n. 2
0
 public DonatorViewModel(DonatorContext context)
 {
     donatorService = new DonatorService(context);
     Donators       = donatorService.getValidDonatorsDB();
     setDataPoints();
 }