You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

29 lines
849 B

using RemitInboundAPI.Common.Helper;
using RemitInboundAPI.Common.Model.RemitModel;
using RemitInboundAPI.Common.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RemitInboundAPI.Business.Helper.ValidationHelper
{
public class BankValidationHelper
{
public async Task<ApiResponse> BankValidationRequest(BankResponseModel model)
{
ApiResponse _response;
if (string.IsNullOrEmpty(model.CountryId))
{
_response = new ApiResponse(ResponseHelper.FAILED, "Country can not be empty.");
}
else
{
_response = new ApiResponse(ResponseHelper.SUCCESS, ResponseMessageHelper.SUCCESS);
}
return _response;
}
}
}