Skip to content
This repository was archived by the owner on Nov 13, 2020. It is now read-only.
This repository was archived by the owner on Nov 13, 2020. It is now read-only.

register on smart contract with nethereum #50

@alirezamoftakhar

Description

@alirezamoftakhar

Hi i want to send parameter with nethereum to save register on smart contract.

pragma solidity ^0.5.1;

contract registerCon {
    
    uint256 age;
    string firstName ;
    string lastName;


 
 function register1( uint256 _age ) public returns(bool)
    {
      age = _age ;
      return true;
    }
    function register2( string memory _firstName , string memory _lastName ) public returns(bool)
    {
     
     firstName = _firstName ;
     lastName = _lastName;
     return true;
    }
    function getrigester () public view returns(uint256 , string memory , string memory)
    {
       
        return ( age , firstName , lastName);
        
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions