Beispiel #1
0
 public IActionResult New([FromBody] CreateAssociationCommand association)
 {
     return(Ok(_employeeHadler.Handler(association)));
 }
Beispiel #2
0
 public IActionResult New([FromBody] CreateEmployeeCommand employee)
 {
     return(Created("", _handler.Handler(employee)));
 }