added Id in AssignmentsModel and Controller