public IActionResult GetAccountsForCredential(OperationTypeRequest request)
 {
     if (ModelState.IsValid)
     {
         SingleResponse <List <Account> > response = new SingleResponse <List <Account> >();
         response.Result     = _xbService.GetAccountsForCredential(request.OperationType);
         response.ResultCode = ResultCodes.normal;
         return(ResponseExtensions.ToHttpResponse(response));
     }
     else
     {
         return(ValidationError.GetValidationErrorResponse(ModelState));
     }
 }