public async Task SaveSetupCmd(GLSetup setup) { await context.Database.ExecuteSqlCommandAsync("pe_NL_Control_Update {0}, {1}, {2}, {3}, {4}, {5}, {6}, {7}, {8}, {9}, {10}, {11}, {12}, {13}, {14}, {15}, {16}, {17}, {18}", // Index 0 setup.WIPServ, setup.WIPPart, setup.WIPOffice, setup.WIPDept, setup.WIPLevel, setup.DRSServ, setup.DRSPart, setup.DRSOffice, setup.DRSDept, setup.DRSLevel, // Ends with Index 9 // Index 10 setup.IntSystem, setup.FeeSource, setup.FeeProfit, setup.FeePart, setup.DisbLevel, setup.DisbStd, setup.InterCo, setup.Cashbook, setup.Expenses // Ends with Index 18 ).ConfigureAwait(false); }
public async Task SaveSetupCmd(GLSetup setup) { await nominalDAL.SaveSetupCmd(setup).ConfigureAwait(false); }