public HttpResponseMessage PostDepartment(DepartmentDto department)
        {
            ControllerFactory.GetDepartmentController().Create(department);
            var response = Request.CreateResponse<DepartmentDto>(HttpStatusCode.Created, department);

            return response;
        }
 public void PutDepartment(DepartmentDto department)
 {
     ControllerFactory.GetDepartmentController().Update(department);
 }