public IHttpActionResult Get(int num1, int num2)
 {
     try
     {
         var conversations = _caclulator.Add(num1, num2);
         return(Ok(conversations));
     }
     catch
     {
         return(InternalServerError());
     }
 }
Exemplo n.º 2
0
 public int Get(int num1, int num2)
 {
     return(_caclulator.Add(num1, num2));
 }