public void CreateContract(EmployeeCreateContract command)
 {
     commandFacade.AddContract(command);
 }
 public void AddContract(EmployeeCreateContract command)
 {
     CommandBus.Dispatch(command);
 }
        public IActionResult AddContracts(EmployeeCreateContract command)
        {
            employeeCommandFacade.AddContract(command);

            return(RedirectToAction("Contracts"));
        }