Esempio n. 1
0
        private void mView_Add(object sender, EventArgs e)
        {
            var dto = new DtoPayRoll {
                AuthorId = mView.AuthorId, Salary = mView.Salary
            };

            mView.Message = _payRollDm.Add(dto);
        }
Esempio n. 2
0
 public ActionResult Create()
 {
     return(View(pdm.Add()));
 }
Esempio n. 3
0
 public IActionResult OnGet()
 {
     PayRoll = _payrollDm.Add();
     return(Page());
 }