using EasyRpc.Interfaces;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using System.Threading.Tasks;
namespace EasyRpc.Services
{
public class Item
{
public int a { get; set; }
public int b { get; set; }
}
public class IntMath// : IIntMath
{
///
/// Add to integers together
/// hello tanya
///
/// first integer
/// second integer
///
public int Add(int x, int y)
{
return x + y;
}
///
/// Subtract to integers together
///
/// first integer
/// second integer
///
public int Subtract(Item item ,Dictionary dict)
{
return 5;
}
///
/// Multiply to integers together
///
/// first integer
/// second integer
///
public int Multiply(int x, int y)
{
return x * y;
}
///
/// Divide to integers together
///
/// first integer
/// second integer
///
public int Divide(int x, int y)
{
return x / y;
}
}
}