Exemple #1
0
 private void AddIncomeClicked(object sender, RoutedEventArgs e)
 {
     if (user.name != "Unlogged")
     {
         DataContext = new AddIncome();
     }
 }
Exemple #2
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            AddIncome CT = new AddIncome();

            CT.ShowDialog(this);
            this.LoadMoneyList();
        }
Exemple #3
0
        public async Task <IActionResult> Post([FromBody] AddIncome command)
        {
            await _commandDispatcher.DispatchAsync(command);

            return(Ok());
        }
Exemple #4
0
        public async Task <IActionResult> AddIncome([FromBody] AddIncome command)
        {
            var result = await Mediator.Send(command);

            return(FromResult(result));
        }