// CreateAssignment creates a new assignment into database
CreateAssignment creates a new assignment into database
// CreateAssignment creates a new assignment into database
func (wr *WriterReader) CreateAssignment(assignment *entities.Assignment) error {
	return wr.runWriteOperation(
		insertAssignmentSQL,
		assignment.Job,
		assignment.Notifier,
		assignment.OnErrorOnly,
	)
}
func ( wr * WriterReader ) CreateAssignment ( assignment * entities . Assignment ) error { return wr . runWriteOperation ( insertAssignmentSQL , assignment . Job , assignment . Notifier , assignment . OnErrorOnly , ) }
CreateAssignment creates a new assignment into database
CreateAssignment creates a new assignment into database