Exemple #1
0
        public async Task <JsonResult> Save(Guid OverdraftID, Guid OverdraftDetailID, Decimal Amount, List <ConceptRelationUpdateAmountDTO> ConceptRelationsAmountApplied)
        {
            await employeeConceptsRelationDetailClient.UpdateAmountAsync(OverdraftDetailID, Amount, ConceptRelationsAmountApplied, SessionModel.InstanceID, SessionModel.CompanyID);

            await Calculate(OverdraftID, false);

            return(Json("OK"));
        }
 public Task UpdateAmountAsync(Guid OverdraftDetailID, decimal Amount, List <ConceptRelationUpdateAmountDTO> ConceptRelationsAmountApplied,
                               Guid instanceID, Guid identityWorkID)
 {
     return(_client.UpdateAmountAsync(OverdraftDetailID, Amount, ConceptRelationsAmountApplied,
                                      instanceID, identityWorkID));
 }