Beispiel #1
0
 private async Task SeedData(HealthInsDbContext context)
 {
     context.AddRange(GetDummyDataProduct());
     context.AddRange(GetDummyDataPerson());
     context.AddRange(GetDummyDataContract());
     await context.SaveChangesAsync();
 }
Beispiel #2
0
 public ProductService(HealthInsDbContext context)
 {
     this.context = context;
 }
 public ClaimActivityService(HealthInsDbContext context, IContractService contractService)
 {
     this.context         = context;
     this.contractService = contractService;
 }
 public OrganizationService(HealthInsDbContext context)
 {
     this.context = context;
 }
Beispiel #5
0
 public MoneyInService(HealthInsDbContext context)
 {
     this.context = context;
 }
 private async Task SeedData(HealthInsDbContext context)
 {
     context.AddRange(GetDummyDataOrganization());
     await context.SaveChangesAsync();
 }
 public DistributorService(HealthInsDbContext context)
 {
     this.context = context;
 }
Beispiel #8
0
 public PersonService(HealthInsDbContext context)
 {
     this.context = context;
 }
Beispiel #9
0
 private async Task SeedData(HealthInsDbContext context)
 {
     context.AddRange(GetDummyDataDistributor());
     await context.SaveChangesAsync();
 }
Beispiel #10
0
 public ContractService(HealthInsDbContext context)
 {
     this.context = context;
 }