private async Task <int> UpdateAccountSubscription(Transaction transcation) { var retVal = 0; switch (transcation.ProductName) { case AppConstant.NotifEye: NotifEyeTransactionInfo transInfo = (NotifEyeTransactionInfo)transcation.TransactionInfo; retVal = await _accountApplicationService.UpdateAccountSubscription(transInfo.AccountID, transInfo.NewRenewalDate); break; } return(retVal); }