private async Task SeedData(MdmsDbContext context)
 {
     context.AddRange(GetPartGetDummyData());
     await context.SaveChangesAsync();
 }
 private async Task SeedVehicleAndMonthlySalarytData(MdmsDbContext context)
 {
     context.AddRange(GetVehicleDummyData());
     context.AddRange(SeedMonthlySalaries());
     await context.SaveChangesAsync();
 }
        private async Task SeedReportData(MdmsDbContext context)
        {
            context.AddRange(SeedReports());

            await context.SaveChangesAsync();
        }
Beispiel #4
0
 private async Task SeedDataSalary(MdmsDbContext context)
 {
     context.AddRange(AddSalaries());
     await context.SaveChangesAsync();
 }