Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public async Task<List<StaffWorkMuchModel>> ExemptStaffWorkMuchPerWeek(int quarterId, int facilityId) {
- using (var dbConnection = (IDbConnection) _serviceProvider.GetService(typeof(IDbConnection))) {
- dbConnection.ConnectionString += "ApplicationIntent=READONLY;";
- dbConnection.Open();
- return (await dbConnection.QueryAsync<StaffWorkMuchModel>("ExemptStaffWorkMuchPerWeek", new {
- id_qtr = quarterId,
- id_fac = facilityId
- }, commandType: CommandType.StoredProcedure, commandTimeout: 150)).ToList();
- }
- }
- dbConnection.ConnectionString += "ApplicationIntent=READONLY;";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement