Пример #1
0
 // POST: api/Income
 public bool Post([FromBody] Income value)
 {
     if (value.Amount > 0)
     {
         IncomeManager.CreateIncome(value);
         return(true);
     }
     else
     {
         return(false);
     }
 }