Exemple #1
0
 public async Task <int> UpdateSocialProgramTresuryValidationAsync(string id, string tresuryValidated)
 {
     return(await DbConnectionHelper.ExecuteAsync(_conString, _conType, SP_UpdateSocialProgramsTresuryValidation, new
     {
         batch_id = id,
         tresury_validated = tresuryValidated
     }, true));
 }
Exemple #2
0
 public async Task <int> UpdateSocialProgramRulesAsync(string id, SocialProgramModel socialProgram)
 {
     return(await DbConnectionHelper.ExecuteAsync(_conString, _conType, SP_UpdateSocialProgramsRules, new
     {
         id,
         socialProgram.rules_break,
         socialProgram.batch_id
     }, true));
 }