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