static void Main(string[] args) { var controller = new TicketController(); var controllerDepartment = new DepartmentController(); var controllerEmployee = new EmployeeController(); var ticket2 = new TicketPostModel { Title = "Title3", Description = "Ticket Description2", Date = System.DateTime.Now, //DepartmentId = 6, }; var ticketDepartment = new DepartmentPostModel { name = "Department1" }; var ticketEmployee = new EmployeePostModel { name = "Yasha", //DepartmentId = 6, }; //var CreateTicketEmployee = controllerEmployee.CreateTicketEmployee(ticketEmployee); //var GetByIdEmployee = controllerEmployee.GetById(1); var GetAllTicketEmployee = controllerEmployee.GetAll(); //var CreateTicketDepartment = controllerDepartment.CreateTicketDepartment(ticketDepartment); var GetAllTicketDepartment = controllerDepartment.GetAll(); //var CreateTicket = controller.CreateTicket(ticket2); //var GetById = controller.GetById(3); var GetAll = controller.GetAll(); var DelById = controller.DelById(3); }